Skip to content

Commit f422af7

Browse files
authored
Rollup merge of rust-lang#73853 - pierwill:pierwill-multispan-doc, r=jonas-schievink
Add newline to rustc MultiSpan docs Also adds back-ticks when referring to the contents of this collection.
2 parents ee455a6 + 4966272 commit f422af7

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)