From a126a732eb47dbd13b44452820a4d2b249330126 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Wed, 6 Dec 2017 10:54:50 -0700 Subject: [PATCH] Fix overlong line length --- src/librustc/diagnostics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 02a4c8cfb870..591b800e241e 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -1647,8 +1647,8 @@ the size of the provided type. Such an enum can be cast to a value of the same type as well. In short, `#[repr(u8)]` makes the enum behave like an integer with a constrained set of allowed values. -Only field-less enums can be cast to numerical primitives, so this attribute will -not apply to structs. +Only field-less enums can be cast to numerical primitives, so this attribute +will not apply to structs. `#[repr(packed)]` reduces padding to make the struct size smaller. The representation of enums isn't strictly defined in Rust, and this attribute