summaryrefslogtreecommitdiff
path: root/src/syntax/tokens.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/tokens.rs')
-rw-r--r--src/syntax/tokens.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/syntax/tokens.rs b/src/syntax/tokens.rs
index a27ef982..50eea455 100644
--- a/src/syntax/tokens.rs
+++ b/src/syntax/tokens.rs
@@ -153,9 +153,6 @@ pub enum TokenMode {
impl<'s> Tokens<'s> {
/// Create a new token iterator with the given mode.
- ///
- /// The first token's span starts an the given `offset` position instead of
- /// the zero position.
pub fn new(src: &'s str, mode: TokenMode) -> Self {
Self {
src,