mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-26 05:35:06 +00:00
remove superfluous warning and clippy allows (#194)
Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
1 parent
35419e8202
commit
157647d5c1
9 files changed
+7
-22
No files matched your search
@@ -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