about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-04-26 12:48:54 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-05-02 11:49:24 -0400
commit5adfe5bffedf0e98864d93381ca2ff2213d8fc88 (patch)
tree555d49aa0100588c4f1a53b98852cec00aa4ef39
parent8013eebf2c77b7756b6a99aee2c38ef417c60e19 (diff)
downloadrust-5adfe5bffedf0e98864d93381ca2ff2213d8fc88.tar.gz
rust-5adfe5bffedf0e98864d93381ca2ff2213d8fc88.zip
Nit: comments should be uppercase letter
-rw-r--r--src/libsyntax/codemap.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs
index 5862538de2e..93025c58332 100644
--- a/src/libsyntax/codemap.rs
+++ b/src/libsyntax/codemap.rs
@@ -144,14 +144,14 @@ pub struct MultiSpan {
 
 #[derive(Clone, Debug)]
 pub struct SpanLabel {
-    /// the span we are going to include in the final snippet
+    /// The span we are going to include in the final snippet.
     pub span: Span,
 
-    /// is this a primary span? This is the "locus" of the message,
-    /// and is indicated with a `^^^^` underline, versus `----`
+    /// Is this a primary span? This is the "locus" of the message,
+    /// and is indicated with a `^^^^` underline, versus `----`.
     pub is_primary: bool,
 
-    /// what label should we attach to this span (if any)?
+    /// What label should we attach to this span (if any)?
     pub label: Option<String>,
 }