Address clippy lints on 1.67.0

This commit is contained in:
Johannes Altmanninger 2024-01-12 14:12:38 +01:00
parent 4bae1f3de9
commit 07e3459fb0
3 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#![allow(clippy::uninlined_format_args)]
use rsconf::{LinkType, Target};
use std::env;
use std::error::Error;

View file

@ -17,6 +17,10 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
// Delete this once we require Rust 1.74.
#![allow(unstable_name_collisions)]
#![allow(clippy::uninlined_format_args)]
use fish::{
ast::Ast,
builtins::shared::{

View file

@ -1,5 +1,9 @@
//! The fish_indent program.
// Delete this once we require Rust 1.74.
#![allow(unstable_name_collisions)]
#![allow(clippy::uninlined_format_args)]
use std::ffi::{CString, OsStr};
use std::io::{stdin, Read, Write};
use std::os::unix::ffi::OsStrExt;