mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-10-02 14:54:30 +00:00
Added doc string to the OrderedIter struct
This commit is contained in:
parent
8b320e64e7
commit
ae103535d3
@ -272,6 +272,7 @@ impl<T, const N: usize> Default for HistoryBuffer<T, N> {
|
||||
}
|
||||
}
|
||||
|
||||
/// An iterator on the underlying buffer ordered from oldest data to newest
|
||||
#[derive(Clone)]
|
||||
pub struct OrderedIter<'a, T, const N: usize> {
|
||||
buf: &'a HistoryBuffer<T, N>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user