about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHavvy <ryan.havvy@gmail.com>2018-06-11 03:04:08 -0700
committerHavvy <ryan.havvy@gmail.com>2018-06-11 03:04:08 -0700
commit0c91bd200e2ef544263023ce7d3b4ad211338808 (patch)
treef9ac0a99842b09b078c08fa77c90f80fda436fe5
parent2d7b046d710ef92d69f25aeae0d6a508b97122ef (diff)
downloadrust-0c91bd200e2ef544263023ce7d3b4ad211338808.tar.gz
rust-0c91bd200e2ef544263023ce7d3b4ad211338808.zip
Make tidy happy
-rw-r--r--src/libsyntax/diagnostic_list.rs15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/libsyntax/diagnostic_list.rs b/src/libsyntax/diagnostic_list.rs
index 34a6e470ccd..31b2f4fc427 100644
--- a/src/libsyntax/diagnostic_list.rs
+++ b/src/libsyntax/diagnostic_list.rs
@@ -101,19 +101,20 @@ Erroneous code example:
 ```compile_fail,E0541
 #[deprecated(
     since="1.0.0",
-    reason="Example invalid meta item. Should be 'note'") // error: unknown meta item
+    // error: unknown meta item
+    reason="Example invalid meta item. Should be 'note'")
 ]
 fn deprecated_function() {}
 ```
 
-Meta items are the key/value pairs inside of an attribute. The keys provided must be one of the
-valid keys for the specified attribute.
+Meta items are the key/value pairs inside of an attribute. The keys provided
+must be one of the valid keys for the specified attribute.
 
-To fix the problem, either remove the unknown meta item, or rename it if you provided the wrong
-name.
+To fix the problem, either remove the unknown meta item, or rename it if you
+provided the wrong name.
 
-In the erroneous code example above, the wrong name was provided, so changing it to the right name
-fixes the error.
+In the erroneous code example above, the wrong name was provided, so changing it
+to the right name fixes the error.
 
 ```
 #[deprecated(