Remove unused (?) allow clippy statements

This commit is contained in:
Toby Webb 2024-04-06 20:24:11 +02:00 committed by Mattias Granlund
parent dcf43e94c3
commit 7ee778a0eb
6 changed files with 0 additions and 27 deletions

View File

@ -109,7 +109,6 @@ impl Signature {
}
}
#[allow(clippy::cast_precision_loss)]
{
(2 * matching_bigrams) as f64 / (original_length as usize + other.len() - 2) as f64
}

View File

@ -4,14 +4,6 @@
all(windows, not(test), not(debug_assertions)),
windows_subsystem = "windows"
)]
// FIXME(qix-): Stuff we want to fix but don't have a lot of time for.
// FIXME(qix-): PRs welcome!
#![allow(
clippy::used_underscore_binding,
clippy::module_name_repetitions,
clippy::struct_field_names,
clippy::too_many_lines
)]
pub mod askpass;
pub mod assets;

View File

@ -9,7 +9,6 @@ pub struct Controller {
local_data_dir: path::PathBuf,
logs_dir: path::PathBuf,
zipper: Zipper,
#[allow(clippy::struct_field_names)]
projects_controller: projects::Controller,
}

View File

@ -4,14 +4,6 @@
all(windows, not(test), not(debug_assertions)),
windows_subsystem = "windows"
)]
// FIXME(qix-): Stuff we want to fix but don't have a lot of time for.
// FIXME(qix-): PRs welcome!
#![allow(
clippy::used_underscore_binding,
clippy::module_name_repetitions,
clippy::struct_field_names,
clippy::too_many_lines
)]
pub mod analytics;
pub mod app;

View File

@ -4,14 +4,6 @@
all(windows, not(test), not(debug_assertions)),
windows_subsystem = "windows"
)]
// FIXME(qix-): Stuff we want to fix but don't have a lot of time for.
// FIXME(qix-): PRs welcome!
#![allow(
clippy::used_underscore_binding,
clippy::module_name_repetitions,
clippy::struct_field_names,
clippy::too_many_lines
)]
use std::path::PathBuf;

View File

@ -1,5 +1,4 @@
pub mod commands {
#![allow(clippy::used_underscore_binding)]
use anyhow::Context;
use std::path;