mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
Rollup merge of #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.
This commit is contained in:
@@ -309,7 +309,9 @@ fn cmp(&self, rhs: &Self) -> Ordering {
|
||||
}
|
||||
}
|
||||
|
||||
/// A collection of spans. Spans have two orthogonal attributes:
|
||||
/// A collection of `Span`s.
|
||||
///
|
||||
/// Spans have two orthogonal attributes:
|
||||
///
|
||||
/// - They can be *primary spans*. In this case they are the locus of
|
||||
/// the error, and would be rendered with `^^^`.
|
||||
|
||||
Reference in New Issue
Block a user