mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Address clippy lints on 1.67.0
This commit is contained in:
parent
4bae1f3de9
commit
07e3459fb0
3 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
#![allow(clippy::uninlined_format_args)]
|
||||||
|
|
||||||
use rsconf::{LinkType, Target};
|
use rsconf::{LinkType, Target};
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
|
|
|
@ -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
|
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::{
|
use fish::{
|
||||||
ast::Ast,
|
ast::Ast,
|
||||||
builtins::shared::{
|
builtins::shared::{
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
//! The fish_indent program.
|
//! 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::ffi::{CString, OsStr};
|
||||||
use std::io::{stdin, Read, Write};
|
use std::io::{stdin, Read, Write};
|
||||||
use std::os::unix::ffi::OsStrExt;
|
use std::os::unix::ffi::OsStrExt;
|
||||||
|
|
Loading…
Reference in a new issue