Skip to content

Commit

Permalink
Remove #[allow(…)]
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed May 15, 2024
1 parent f5af2da commit 0b2232a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion numbat/src/tokenizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ pub fn tokenize(input: &str, code_source_id: usize) -> Result<Vec<Token>> {
}

#[cfg(test)]
#[allow(clippy::type_complexity)]
fn tokenize_reduced(input: &str) -> Result<Vec<(String, TokenKind, (u32, u32))>, String> {
Ok(tokenize(input, 0)
.map_err(|e| {
Expand Down
1 change: 0 additions & 1 deletion numbat/src/typechecker.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(clippy::result_large_err)]
use std::{
collections::{HashMap, HashSet},
error::Error,
Expand Down

0 comments on commit 0b2232a

Please sign in to comment.