about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-02 00:16:34 -0700
committerGitHub <noreply@github.com>2020-07-02 00:16:34 -0700
commit294b97251d53eba9ce3f2e389ef5e53d414768f7 (patch)
tree42da6df02b40afdb9d8e8b3d2f0d3a5ef3c2caeb
parent32f5e633c768faaf20540d77da490222c7803fb3 (diff)
parent49662726afdd6f4538bada73db771b939d92bd22 (diff)
downloadrust-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.rs4
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 `^^^`.