Remove old docs
This commit is contained in:
parent
2a0e4c9b78
commit
d0feac667f
@ -49,8 +49,6 @@ pub fn lex<'chars, 'src: 'chars>(
|
|||||||
|
|
||||||
/// Low-level tool for lexing a single token at a time.
|
/// 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
|
/// # Examples
|
||||||
/// ```
|
/// ```
|
||||||
/// # use dust_lang::*;
|
/// # use dust_lang::*;
|
||||||
@ -97,8 +95,6 @@ impl<'src> Lexer<'src> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Produce the next token.
|
/// 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> {
|
pub fn next_token(&mut self) -> Result<(Token<'src>, Span), LexError> {
|
||||||
self.skip_whitespace();
|
self.skip_whitespace();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user