Skip to content

Commit f09c219

Browse files
authored
Merge pull request #505 from GnomedDev/fix-deque-doc-mistake
Fix minor mistake in `DequeInner` docs
2 parents 1c47ffc + 0467c34 commit f09c219

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/deque.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ use core::{ptr, slice};
4141

4242
use crate::storage::{OwnedStorage, Storage, ViewStorage};
4343

44-
/// Base struct for [`Deque`] and [`Deque`], generic over the [`Storage`].
44+
/// Base struct for [`Deque`] and [`DequeView`], generic over the [`Storage`].
4545
///
46-
/// In most cases you should use [`Deque`] or [`Deque`] directly. Only use this
46+
/// In most cases you should use [`Deque`] or [`DequeView`] directly. Only use this
4747
/// struct if you want to write code that's generic over both.
4848
pub struct DequeInner<T, S: Storage> {
4949
/// Front index. Always 0..=(N-1)

0 commit comments

Comments
 (0)