From 23868830a322dd1465e8fcadbdefe0b64d1d068a Mon Sep 17 00:00:00 2001 From: Vladyslav Nikonov Date: Fri, 15 May 2026 11:49:42 +0300 Subject: [PATCH] chore: update Rust toolchain to v1.95 --- rust-toolchain.toml | 2 +- rust/now-proto-pdu/src/core/string.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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()