mirror of
https://github.com/openharmony/third_party_rust_codespan.git
synced 2026-07-21 03:55:28 -04:00
Merge pull request #240 from shika-blyat/master
Document the fact that Label's range is byte-range
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user