File tree 2 files changed +0
-10
lines changed
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 {
52
52
}
53
53
54
54
type_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( ) ) ]
60
55
#[ doc( cfg( all( ) ) ) ] }
61
56
62
57
type_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 {
9
9
( $( $t: ident) * ) => { $(
10
10
#[ stable( feature = "raw_os" , since = "1.1.0" ) ]
11
11
#[ 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( ) ) ]
17
12
#[ doc( cfg( all( ) ) ) ]
18
13
pub type $t = core:: ffi:: $t;
19
14
) * }
You can’t perform that action at this time.
0 commit comments