aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/spans.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spans.rs b/src/spans.rs
index 88d5eed..ee63dd3 100644
--- a/src/spans.rs
+++ b/src/spans.rs
@@ -34,7 +34,7 @@ impl<R> GetPos for PosTracker<R> {
}
}
-/// Represents a character range in the source code.
+/// A byte range in the source code.
pub trait Span<R>: Default + Clone {
/// Initializes a new span at the current position of the reader.
fn from_reader(reader: &R) -> Self;