Skip to content

Commit 4966272

Browse files
committed
Add newline to rustc MultiSpan docs
Also adds back-ticks when referring to the contents of this collection.
1 parent 2f517ce commit 4966272

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc_span/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,9 @@ impl Ord for Span {
309309
}
310310
}
311311

312-
/// A collection of spans. Spans have two orthogonal attributes:
312+
/// A collection of `Span`s.
313+
///
314+
/// Spans have two orthogonal attributes:
313315
///
314316
/// - They can be *primary spans*. In this case they are the locus of
315317
/// the error, and would be rendered with `^^^`.

0 commit comments

Comments
 (0)