summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax')
-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>,
 }