You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/ice.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ body:
10
10
attributes:
11
11
label: Summary
12
12
description: |
13
-
If possible, try to provide a minimal verifiable example. You can read ["Rust Bug Minimization Patterns"][mve] for how to create smaller examples. Otherwise, provide the crate where the ICE occured.
13
+
If possible, try to provide a minimal verifiable example. You can read ["Rust Bug Minimization Patterns"][mve] for how to create smaller examples. Otherwise, provide the crate where the ICE occurred.
Copy file name to clipboardExpand all lines: clippy_lints/src/trailing_empty_array.rs
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ declare_clippy_lint! {
10
10
/// Displays a warning when a struct with a trailing zero-sized array is declared without a `repr` attribute.
11
11
///
12
12
/// ### Why is this bad?
13
-
/// Zero-sized arrays aren't very useful in Rust itself, so such a struct is likely being created to pass to C code or in some other situation where control over memory layout matters (for example, in conjuction with manual allocation to make it easy to compute the offset of the array). Either way, `#[repr(C)]` (or another `repr` attribute) is needed.
13
+
/// Zero-sized arrays aren't very useful in Rust itself, so such a struct is likely being created to pass to C code or in some other situation where control over memory layout matters (for example, in conjunction with manual allocation to make it easy to compute the offset of the array). Either way, `#[repr(C)]` (or another `repr` attribute) is needed.
0 commit comments