From 9557dcb6156fba9d4f91762e59d90991b895c29a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 2 Dec 2026 13:36:33 +0300 Subject: [PATCH] U13: remove BitWriter::with_capacity; no caller anywhere --- crates/ec-core/src/bitio.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/ec-core/src/bitio.rs b/crates/ec-core/src/bitio.rs index ce5ac10b..b988c2ce 100644 --- a/crates/ec-core/src/bitio.rs +++ b/crates/ec-core/src/bitio.rs @@ -151,14 +151,6 @@ impl BitWriter { BitWriter::default() } - /// An empty writer with room for `bytes`. - pub fn with_capacity(bytes: usize) -> BitWriter { - BitWriter { - buf: Vec::with_capacity(bytes), - used: 0, - } - } - /// Bits written so far. pub fn bit_len(&self) -> u64 { if self.used == 0 {