about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorMark Mansi <markm@cs.wisc.edu>2018-05-22 13:46:33 -0500
committerWho? Me?! <mark-i-m@users.noreply.github.com>2018-05-27 19:44:55 -0500
commit96e5a9d04000c7440b90d9a25a0b697c6ac9ea93 (patch)
tree6dc30f23031cffce6e956544e7496f840e8c855c /src/doc/rustc-dev-guide
parent6464cc404e15f5d5407a5ebf706fc70f65c979ed (diff)
downloadrust-96e5a9d04000c7440b90d9a25a0b697c6ac9ea93.tar.gz
rust-96e5a9d04000c7440b90d9a25a0b697c6ac9ea93.zip
80 chars
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/diag.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/diag.md b/src/doc/rustc-dev-guide/src/diag.md
index 25f45e00292..6679e424941 100644
--- a/src/doc/rustc-dev-guide/src/diag.md
+++ b/src/doc/rustc-dev-guide/src/diag.md
@@ -33,7 +33,8 @@ warnings, errors, fatal errors, suggestions, etc.
 In general, there are two class of such methods: ones that emit an error
 directly and ones that allow finer control over what to emit. For example,
 [`span_err`][spanerr] emits the given error message at the given `Span`, but
-[`struct_span_err`][strspanerr] instead returns a [`DiagnosticBuilder`][diagbuild].
+[`struct_span_err`][strspanerr] instead returns a
+[`DiagnosticBuilder`][diagbuild].
 
 `DiagnosticBuilder` allows you to add related notes and suggestions to an error
 before emitting it by calling the [`emit`][emit] method. See the
@@ -172,5 +173,5 @@ For example,
                     NON_UPPER_CASE_GLOBALS);
 ```
 
-This defines the `nonstandard_style` group which turns on the listed lints. A user
-can turn on these lints by using `!#[warn(nonstandard_style)]`.
+This defines the `nonstandard_style` group which turns on the listed lints. A
+user can turn on these lints by using `!#[warn(nonstandard_style)]`.