From 6aec91cba6b634aa496d203ed0ed729dd3884181 Mon Sep 17 00:00:00 2001 From: Adam Reichold Date: Thu, 15 Feb 2024 08:21:20 +0100 Subject: [PATCH] drop binding unused after refactoring --- src/pybacked.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pybacked.rs b/src/pybacked.rs index b88781f35e6..bd29c830e65 100644 --- a/src/pybacked.rs +++ b/src/pybacked.rs @@ -44,7 +44,6 @@ impl TryFrom> for PyBackedStr { let bytes = py_string.encode_utf8()?; let b = bytes.as_bytes(); let data = NonNull::from(b); - let length = b.len(); Ok(Self { storage: bytes.into_any().unbind(), data,