@@ -70,13 +70,13 @@ macro_rules! prelude {
7070 mod prelude {
7171 // Exports from `core`
7272 #[ allow( unused_imports) ]
73- pub ( crate ) use core:: clone:: Clone ;
73+ pub ( crate ) use :: core:: clone:: Clone ;
7474 #[ allow( unused_imports) ]
75- pub ( crate ) use core:: marker:: { Copy , Send , Sync } ;
75+ pub ( crate ) use :: core:: marker:: { Copy , Send , Sync } ;
7676 #[ allow( unused_imports) ]
77- pub ( crate ) use core:: option:: Option ;
77+ pub ( crate ) use :: core:: option:: Option ;
7878 #[ allow( unused_imports) ]
79- pub ( crate ) use core:: { fmt, hash, iter, mem} ;
79+ pub ( crate ) use :: core:: { fmt, hash, iter, mem} ;
8080
8181 // Commonly used types defined in this crate
8282 #[ allow( unused_imports) ]
@@ -110,9 +110,9 @@ macro_rules! s {
110110 #[ repr( C ) ]
111111 #[ cfg_attr(
112112 feature = "extra_traits" ,
113- core:: prelude:: v1:: derive( Debug , Eq , Hash , PartialEq )
113+ :: core:: prelude:: v1:: derive( Debug , Eq , Hash , PartialEq )
114114 ) ]
115- #[ core:: prelude:: v1:: derive( core:: clone:: Clone , core:: marker:: Copy ) ]
115+ #[ :: core:: prelude:: v1:: derive( :: core:: clone:: Clone , :: core:: marker:: Copy ) ]
116116 #[ allow( deprecated) ]
117117 $( #[ $attr] ) *
118118 pub struct $i { $( $field) * }
@@ -132,9 +132,9 @@ macro_rules! s_paren {
132132 __item! {
133133 #[ cfg_attr(
134134 feature = "extra_traits" ,
135- core:: prelude:: v1:: derive( Debug , Eq , Hash , PartialEq )
135+ :: core:: prelude:: v1:: derive( Debug , Eq , Hash , PartialEq )
136136 ) ]
137- #[ core:: prelude:: v1:: derive( core:: clone:: Clone , core:: marker:: Copy ) ]
137+ #[ :: core:: prelude:: v1:: derive( :: core:: clone:: Clone , :: core:: marker:: Copy ) ]
138138 $( #[ $attr] ) *
139139 pub struct $i ( $( $field) * ) ;
140140 }
@@ -155,7 +155,7 @@ macro_rules! s_no_extra_traits {
155155 ( it: $( #[ $attr: meta] ) * pub union $i: ident { $( $field: tt) * } ) => (
156156 __item! {
157157 #[ repr( C ) ]
158- #[ core:: prelude:: v1:: derive( core:: clone:: Clone , core:: marker:: Copy ) ]
158+ #[ :: core:: prelude:: v1:: derive( :: core:: clone:: Clone , :: core:: marker:: Copy ) ]
159159 $( #[ $attr] ) *
160160 pub union $i { $( $field) * }
161161 }
@@ -164,7 +164,7 @@ macro_rules! s_no_extra_traits {
164164 ( it: $( #[ $attr: meta] ) * pub struct $i: ident { $( $field: tt) * } ) => (
165165 __item! {
166166 #[ repr( C ) ]
167- #[ core:: prelude:: v1:: derive( core:: clone:: Clone , core:: marker:: Copy ) ]
167+ #[ :: core:: prelude:: v1:: derive( :: core:: clone:: Clone , :: core:: marker:: Copy ) ]
168168 $( #[ $attr] ) *
169169 pub struct $i { $( $field) * }
170170 }
@@ -194,9 +194,9 @@ macro_rules! e {
194194 __item! {
195195 #[ cfg_attr(
196196 feature = "extra_traits" ,
197- core:: prelude:: v1:: derive( Debug , Eq , Hash , PartialEq )
197+ :: core:: prelude:: v1:: derive( Debug , Eq , Hash , PartialEq )
198198 ) ]
199- #[ core:: prelude:: v1:: derive( core:: clone:: Clone , core:: marker:: Copy ) ]
199+ #[ :: core:: prelude:: v1:: derive( :: core:: clone:: Clone , :: core:: marker:: Copy ) ]
200200 $( #[ $attr] ) *
201201 pub enum $i { $( $field) * }
202202 }
0 commit comments