Skip to content

Commit

Permalink
Suppress assigning_clones and incompatible_msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
The0x539 committed Mar 9, 2024
1 parent 0257afb commit 2bc92ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/fish_indent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Delete this once we require Rust 1.74.
#![allow(unstable_name_collisions)]
#![allow(clippy::uninlined_format_args)]
#![allow(clippy::incompatible_msrv)] // false positive for is_some_and (we have a polyfill)

use std::ffi::{CString, OsStr};
use std::io::{stdin, Read, Write};
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#![allow(clippy::redundant_slicing)]
#![allow(clippy::too_many_arguments)]
#![allow(clippy::uninlined_format_args)]
#![allow(clippy::assigning_clones)]
#![allow(clippy::incompatible_msrv)] // false positive for is_some_and (1.70, but we have a polyfill)

pub const BUILD_VERSION: &str = env!("FISH_BUILD_VERSION");

Expand Down

0 comments on commit 2bc92ae

Please sign in to comment.