Commit aa5aa61 1 parent da0b473 commit aa5aa61 Copy full SHA for aa5aa61
File tree 2 files changed +7
-12
lines changed
2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pub mod ser;
7
7
pub mod doc;
8
8
9
9
pub use crate :: lib:: clone:: Clone ;
10
- pub use crate :: lib:: convert:: { From , Into } ;
10
+ pub use crate :: lib:: convert:: { From , Into , TryFrom } ;
11
11
pub use crate :: lib:: default:: Default ;
12
12
pub use crate :: lib:: fmt:: { self , Formatter } ;
13
13
pub use crate :: lib:: marker:: PhantomData ;
@@ -20,8 +20,6 @@ pub use self::string::from_utf8_lossy;
20
20
#[ cfg( any( feature = "alloc" , feature = "std" ) ) ]
21
21
pub use crate :: lib:: { ToString , Vec } ;
22
22
23
- pub use crate :: lib:: convert:: TryFrom ;
24
-
25
23
mod string {
26
24
use crate :: lib:: * ;
27
25
Original file line number Diff line number Diff line change @@ -582,22 +582,19 @@ macro_rules! nonzero_integers {
582
582
}
583
583
}
584
584
585
- nonzero_integers ! {
586
- NonZeroU8 ,
587
- NonZeroU16 ,
588
- NonZeroU32 ,
589
- NonZeroU64 ,
590
- NonZeroU128 ,
591
- NonZeroUsize ,
592
- }
593
-
594
585
nonzero_integers ! {
595
586
NonZeroI8 ,
596
587
NonZeroI16 ,
597
588
NonZeroI32 ,
598
589
NonZeroI64 ,
599
590
NonZeroI128 ,
600
591
NonZeroIsize ,
592
+ NonZeroU8 ,
593
+ NonZeroU16 ,
594
+ NonZeroU32 ,
595
+ NonZeroU64 ,
596
+ NonZeroU128 ,
597
+ NonZeroUsize ,
601
598
}
602
599
603
600
impl < T > Serialize for Cell < T >
You can’t perform that action at this time.
0 commit comments