From d0feac667fc2004a29966a436446e00c4f32889c Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 2 Sep 2024 04:00:42 -0400 Subject: [PATCH] Remove old docs --- dust-lang/src/lexer.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dust-lang/src/lexer.rs b/dust-lang/src/lexer.rs index d0532ad..51f73d9 100644 --- a/dust-lang/src/lexer.rs +++ b/dust-lang/src/lexer.rs @@ -49,8 +49,6 @@ pub fn lex<'chars, 'src: 'chars>( /// Low-level tool for lexing a single token at a time. /// -/// **Note**: It is a logic error to call `next_token` with different inputs. -/// /// # Examples /// ``` /// # use dust_lang::*; @@ -97,8 +95,6 @@ impl<'src> Lexer<'src> { } /// Produce the next token. - /// - /// It is a logic error to call this method with different inputs. pub fn next_token(&mut self) -> Result<(Token<'src>, Span), LexError> { self.skip_whitespace();