Skip to content

Commit 3dbeb69

Browse files
added byte position range for proc_macro::Span
1 parent b8c6d22 commit 3dbeb69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/proc_macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ impl Span {
488488
Span(self.0.source())
489489
}
490490

491-
/// Returns the spans byte position range in the source file.
491+
/// Returns the span's byte position range in the source file.
492492
#[unstable(feature = "proc_macro_span", issue = "54725")]
493493
pub fn position(&self) -> Range<u32> {
494494
self.0.position()

0 commit comments

Comments
 (0)