diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 3d572e0..6360c18 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.82.0" +channel = "1.95.0" components = ["rustfmt", "clippy"] diff --git a/rust/now-proto-pdu/src/core/string.rs b/rust/now-proto-pdu/src/core/string.rs index 74e4f65..0b5f39d 100644 --- a/rust/now-proto-pdu/src/core/string.rs +++ b/rust/now-proto-pdu/src/core/string.rs @@ -34,7 +34,6 @@ impl<'a> NowVarStr<'a> { // IMPORTANT: we need to check for encoded UTF-8 size, not the string length. let _: u32 = value - .as_bytes() .len() .try_into() .ok()