summaryrefslogtreecommitdiff
path: root/src/syntax/tokens.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-08-19 21:12:34 +0200
committerLaurenz <laurmaedje@gmail.com>2020-08-19 21:12:34 +0200
commit141d69cb60d4f565f06ccd4ebeb353e748fadb7f (patch)
treef8fe203a6ed2aedc46a8f7e975bd16671476e58b /src/syntax/tokens.rs
parentfd9959fd04739c1dab2ea1a899a17c94e0892103 (diff)
Remove some obsolete stuff ❌
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,