Skip to content

Commit

Permalink
ringbuf: not all methods are used with minimal features enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
royaltm committed Mar 1, 2024
1 parent 3988d21 commit 0415d83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ringbuf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use core::fmt;
use core::ops::Index;

/// A ring buffer trait.
#[allow(dead_code)]
pub trait RingBuffer: Default + Index<usize, Output=u8> {
/// The size of the buffer in bytes.
const BUFFER_SIZE: usize;
Expand Down

0 comments on commit 0415d83

Please sign in to comment.