summaryrefslogtreecommitdiff
path: root/src/diagnostic.rs
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-07-10 20:23:05 -0700
committerHaibo Huang <hhb@google.com>2020-07-10 20:23:05 -0700
commit688e0e8c1f55a91198d38c63a6f0ba1b55954fc1 (patch)
treec712b15986657e2a7071818de121771eca64276a /src/diagnostic.rs
parentfac330005a43361980f1904fcda543da655b4883 (diff)
downloadcodespan-reporting-688e0e8c1f55a91198d38c63a6f0ba1b55954fc1.tar.gz
Upgrade rust/crates/codespan-reporting to 0.9.5
Change-Id: I2523d159d28d7a57c8dc6b5f4578905f56bf1088
Diffstat (limited to 'src/diagnostic.rs')
-rw-r--r--src/diagnostic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diagnostic.rs b/src/diagnostic.rs
index 6655a91..559c899 100644
--- a/src/diagnostic.rs
+++ b/src/diagnostic.rs
@@ -67,7 +67,7 @@ pub struct Label<FileId> {
pub style: LabelStyle,
/// The file that we are labelling.
pub file_id: FileId,
- /// The range we are going to include in the final snippet.
+ /// The range in bytes we are going to include in the final snippet.
pub range: Range<usize>,
/// An optional message to provide some additional information for the
/// underlined code. These should not include line breaks.