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:
Manish Goregaokar
2020-07-02 00:16:34 -07:00
committed by GitHub
+3 -1
View File
@@ -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 `^^^`.