Add newline to rustc MultiSpan docs

Also adds back-ticks when referring to the contents of this collection.
This commit is contained in:
pierwill 2020-06-28 15:38:39 -07:00
parent 2f517ce6f2
commit 49662726af

View File

@ -309,7 +309,9 @@ impl Ord for Span {
}
}
/// 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 `^^^`.