From c3bc09550e20d53895450458d0446ea8c2b2b428 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Thu, 22 Apr 2021 12:02:22 +0200 Subject: [PATCH] Remove commented-out code --- src/proto/streams/buffer.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/proto/streams/buffer.rs b/src/proto/streams/buffer.rs index 652f2ed..2648a41 100644 --- a/src/proto/streams/buffer.rs +++ b/src/proto/streams/buffer.rs @@ -92,13 +92,4 @@ impl Deque { None => None, } } - - /* - pub fn peek_front<'a, T>(&self, buf: &'a Buffer) -> Option<&'a T> { - match self.indices { - Some(idxs) => Some(&buf.slab[idxs.head].value), - None => None, - } - } - */ }