File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,6 @@ macro_rules! type_alias {
5252}
5353
5454type_alias ! { "c_char.md" , c_char = c_char_definition:: c_char, NonZero_c_char = c_char_definition:: NonZero_c_char ;
55- // Make this type alias appear cfg-dependent so that Clippy does not suggest
56- // replacing `0 as c_char` with `0_i8`/`0_u8`. This #[cfg(all())] can be removed
57- // after the false positive in https://github.com/rust-lang/rust-clippy/issues/8093
58- // is fixed.
59- #[ cfg( all( ) ) ]
6055#[ doc( cfg( all( ) ) ) ] }
6156
6257type_alias ! { "c_schar.md" , c_schar = i8 , NonZero_c_schar = NonZeroI8 ; }
Original file line number Diff line number Diff line change @@ -9,11 +9,6 @@ macro_rules! alias_core_ffi {
99 ( $( $t: ident) * ) => { $(
1010 #[ stable( feature = "raw_os" , since = "1.1.0" ) ]
1111 #[ doc = include_str!( concat!( "../../../../core/src/ffi/" , stringify!( $t) , ".md" ) ) ]
12- // Make this type alias appear cfg-dependent so that Clippy does not suggest
13- // replacing expressions like `0 as c_char` with `0_i8`/`0_u8`. This #[cfg(all())] can be
14- // removed after the false positive in https://github.com/rust-lang/rust-clippy/issues/8093
15- // is fixed.
16- #[ cfg( all( ) ) ]
1712 #[ doc( cfg( all( ) ) ) ]
1813 pub type $t = core:: ffi:: $t;
1914 ) * }
You can’t perform that action at this time.
0 commit comments