diff --git a/src/path/arg.rs b/src/path/arg.rs index ca81cb8b..adff3fea 100644 --- a/src/path/arg.rs +++ b/src/path/arg.rs @@ -933,7 +933,7 @@ impl Arg for DecInt { } /// Runs a closure with `bytes` passed in as a `&CStr`. -#[allow(unsafe_code)] +#[allow(unsafe_code, clippy::int_plus_one)] #[inline] fn with_c_str(bytes: &[u8], f: F) -> io::Result where