about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2017-12-06 10:54:50 -0700
committerGitHub <noreply@github.com>2017-12-06 10:54:50 -0700
commita126a732eb47dbd13b44452820a4d2b249330126 (patch)
tree690623d05b78ff55fa0e84a5993c6dfadba0c440
parentd6ba2e4d1cd5d857ff6318b715b9967d65cee181 (diff)
downloadrust-a126a732eb47dbd13b44452820a4d2b249330126.tar.gz
rust-a126a732eb47dbd13b44452820a4d2b249330126.zip
Fix overlong line length
-rw-r--r--src/librustc/diagnostics.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs
index 02a4c8cfb87..591b800e241 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