mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-17 15:51:04 +00:00
remove superfluous warning and clippy allows (#194)
Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
@@ -42,7 +42,6 @@ impl Lexer {
|
||||
}
|
||||
|
||||
/// Advances the lexer, returning the next lexeme.
|
||||
#[allow(clippy::should_implement_trait)]
|
||||
pub fn next(&mut self) -> Result<Token, Error> {
|
||||
if let Some(peeked) = self.peeked.take() {
|
||||
return Ok(peeked);
|
||||
|
||||
Reference in New Issue
Block a user