From 74c56f3e70a334ffc5259683a261ef8baf81f8d3 Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Mon, 21 Nov 2022 06:51:33 -0800 Subject: [PATCH] Fix clippy lint (#455) Signed-off-by: Alex Saveau Signed-off-by: Alex Saveau --- src/path/arg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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