Skip to content

Commit

Permalink
Rollup merge of rust-lang#73853 - pierwill:pierwill-multispan-doc, r=…
Browse files Browse the repository at this point in the history
…jonas-schievink

Add newline to rustc MultiSpan docs

Also adds back-ticks when referring to the contents of this collection.
  • Loading branch information
Manishearth authored Jul 1, 2020
2 parents ee455a6 + 4966272 commit f422af7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustc_span/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 `^^^`.
Expand Down

0 comments on commit f422af7

Please sign in to comment.