mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-28 04:50:34 +00:00
Merge pull request #505 from GnomedDev/fix-deque-doc-mistake
Fix minor mistake in `DequeInner` docs
This commit is contained in:
commit
f09c2199c5
@ -41,9 +41,9 @@ use core::{ptr, slice};
|
||||
|
||||
use crate::storage::{OwnedStorage, Storage, ViewStorage};
|
||||
|
||||
/// Base struct for [`Deque`] and [`Deque`], generic over the [`Storage`].
|
||||
/// Base struct for [`Deque`] and [`DequeView`], generic over the [`Storage`].
|
||||
///
|
||||
/// In most cases you should use [`Deque`] or [`Deque`] directly. Only use this
|
||||
/// In most cases you should use [`Deque`] or [`DequeView`] directly. Only use this
|
||||
/// struct if you want to write code that's generic over both.
|
||||
pub struct DequeInner<T, S: Storage> {
|
||||
/// Front index. Always 0..=(N-1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user