Skip to content

Commit c6ecc1f

Browse files
committed
80 chars
1 parent 5106793 commit c6ecc1f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/diag.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ warnings, errors, fatal errors, suggestions, etc.
3333
In general, there are two class of such methods: ones that emit an error
3434
directly and ones that allow finer control over what to emit. For example,
3535
[`span_err`][spanerr] emits the given error message at the given `Span`, but
36-
[`struct_span_err`][strspanerr] instead returns a [`DiagnosticBuilder`][diagbuild].
36+
[`struct_span_err`][strspanerr] instead returns a
37+
[`DiagnosticBuilder`][diagbuild].
3738

3839
`DiagnosticBuilder` allows you to add related notes and suggestions to an error
3940
before emitting it by calling the [`emit`][emit] method. See the
@@ -172,5 +173,5 @@ For example,
172173
NON_UPPER_CASE_GLOBALS);
173174
```
174175

175-
This defines the `nonstandard_style` group which turns on the listed lints. A user
176-
can turn on these lints by using `!#[warn(nonstandard_style)]`.
176+
This defines the `nonstandard_style` group which turns on the listed lints. A
177+
user can turn on these lints by using `!#[warn(nonstandard_style)]`.

0 commit comments

Comments
 (0)