diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-13 00:50:54 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-13 00:50:54 +0200 |
| commit | 6723829a3398b3c9dd6dc6ae79124f46000606ee (patch) | |
| tree | a1ec535eddd711a4557e4bcc5b94382c3623504c /crates/turtle/src/main.rs | |
| parent | chore(treewide): Cleanup themes (diff) | |
| download | atuin-6723829a3398b3c9dd6dc6ae79124f46000606ee.zip | |
chore(treewide): Remove `cargo` warnings to 0
There are still the `clippy` warnings, but they are for a future date.
Diffstat (limited to 'crates/turtle/src/main.rs')
| -rw-r--r-- | crates/turtle/src/main.rs | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/crates/turtle/src/main.rs b/crates/turtle/src/main.rs index 664cf3a6..7ea08a9b 100644 --- a/crates/turtle/src/main.rs +++ b/crates/turtle/src/main.rs @@ -1,8 +1,15 @@ -#![warn(clippy::pedantic, clippy::nursery)] -#![allow(clippy::use_self, clippy::missing_const_for_fn)] // not 100% reliable -// #![deny(unsafe_code)] #![forbid(unsafe_code)] -#![expect(clippy::redundant_pub_crate)] +#![warn(clippy::pedantic, clippy::nursery)] +#![expect( + clippy::missing_const_for_fn, // not 100% reliable + clippy::redundant_pub_crate, +)] +#![expect( + clippy::cast_possible_wrap, + clippy::cast_sign_loss, + clippy::cast_possible_truncation, + reason = "We should remove all of these. But it's just a lot of work in this code-base" +)] use clap::Parser; use clap::builder::Styles; |
