We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b1f26 commit 4c8e816Copy full SHA for 4c8e816
clippy_lints/src/trailing_zero_sized_array_without_repr.rs
@@ -15,17 +15,17 @@ declare_clippy_lint! {
15
/// ### Example
16
/// ```rust
17
/// struct RarelyUseful {
18
- /// some_field: usize,
19
- /// last: [SomeType; 0],
+ /// some_field: u32,
+ /// last: [u32; 0],
20
/// }
21
/// ```
22
///
23
- /// Use instead:
+ /// Use instead:
24
25
/// #[repr(C)]
26
/// struct MoreOftenUseful {
27
/// some_field: usize,
28
29
30
31
pub TRAILING_ZERO_SIZED_ARRAY_WITHOUT_REPR,
0 commit comments