Skip to content

Commit a126a73

Browse files
authored
Fix overlong line length
1 parent d6ba2e4 commit a126a73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/diagnostics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1647,8 +1647,8 @@ the size of the provided type. Such an enum can be cast to a value of the same
16471647
type as well. In short, `#[repr(u8)]` makes the enum behave like an integer
16481648
with a constrained set of allowed values.
16491649
1650-
Only field-less enums can be cast to numerical primitives, so this attribute will
1651-
not apply to structs.
1650+
Only field-less enums can be cast to numerical primitives, so this attribute
1651+
will not apply to structs.
16521652
16531653
`#[repr(packed)]` reduces padding to make the struct size smaller. The
16541654
representation of enums isn't strictly defined in Rust, and this attribute

0 commit comments

Comments
 (0)