From 0415d83c5f59628b48c95b97dc7eaebb9d00193a Mon Sep 17 00:00:00 2001 From: Rafal Michalski Date: Fri, 1 Mar 2024 17:41:43 +0100 Subject: [PATCH] ringbuf: not all methods are used with minimal features enabled --- src/ringbuf.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ringbuf.rs b/src/ringbuf.rs index 88a4284..85c5f77 100644 --- a/src/ringbuf.rs +++ b/src/ringbuf.rs @@ -3,6 +3,7 @@ use core::fmt; use core::ops::Index; /// A ring buffer trait. +#[allow(dead_code)] pub trait RingBuffer: Default + Index { /// The size of the buffer in bytes. const BUFFER_SIZE: usize;