mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-26 20:10:24 +00:00
Fix formatting.
This commit is contained in:
parent
9f2f4167b1
commit
2f0008b4ca
@ -504,14 +504,14 @@ impl<T, S: HistBufStorage<T> + ?Sized> HistoryBufferInner<T, S> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns a reference to the element in the order from oldest to newest
|
||||
/// Returns a reference to the element in the order from oldest to newest.
|
||||
///
|
||||
/// `buf.ordered_get(0)` will always return the oldest element in the buffer
|
||||
/// `buf.ordered_get(0)` will always return the oldest element in the buffer.
|
||||
///
|
||||
/// `buf.ordered_get(buf.len() - 1)` will always return the newest element
|
||||
/// in the buffer
|
||||
/// in the buffer.
|
||||
///
|
||||
/// Returns None if `index >= self.len()`
|
||||
/// Returns None if `index >= self.len()`.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user