diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-02 00:16:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-02 00:16:34 -0700 |
| commit | 294b97251d53eba9ce3f2e389ef5e53d414768f7 (patch) | |
| tree | 42da6df02b40afdb9d8e8b3d2f0d3a5ef3c2caeb | |
| parent | 32f5e633c768faaf20540d77da490222c7803fb3 (diff) | |
| parent | 49662726afdd6f4538bada73db771b939d92bd22 (diff) | |
| download | rust-294b97251d53eba9ce3f2e389ef5e53d414768f7.tar.gz rust-294b97251d53eba9ce3f2e389ef5e53d414768f7.zip | |
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.
| -rw-r--r-- | src/librustc_span/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc_span/lib.rs b/src/librustc_span/lib.rs index 6dcb1430cdc..046554067f4 100644 --- a/src/librustc_span/lib.rs +++ b/src/librustc_span/lib.rs @@ -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 `^^^`. |
