From 66213ffb859e0f66c973e315c91f53e519edaa16 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 16 Aug 2023 06:48:05 +0200 Subject: fix(docs): Span is a byte range (not character range) --- src/spans.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 GetPos for PosTracker { } } -/// Represents a character range in the source code. +/// A byte range in the source code. pub trait Span: Default + Clone { /// Initializes a new span at the current position of the reader. fn from_reader(reader: &R) -> Self; -- cgit v1.2.3