Эх сурвалжийг харах

Add missing Debug impl for *_ENCODE_SET in define_encode_set macro

Raminder Singh 9 жил өмнө
parent
commit
81fdb302b7

+ 1 - 1
src/percent_encoding.rs

@@ -58,7 +58,7 @@ pub trait EncodeSet: Clone {
 macro_rules! define_encode_set {
     ($(#[$attr: meta])* pub $name: ident = [$base_set: expr] | {$($ch: pat),*}) => {
         $(#[$attr])*
-        #[derive(Copy, Clone)]
+        #[derive(Copy, Clone, Debug)]
         #[allow(non_camel_case_types)]
         pub struct $name;