Skip to content

Commit

Permalink
Merge pull request #505 from GnomedDev/fix-deque-doc-mistake
Browse files Browse the repository at this point in the history
Fix minor mistake in `DequeInner` docs
  • Loading branch information
reitermarkus authored Jul 20, 2024
2 parents 1c47ffc + 0467c34 commit f09c219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deque.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f09c219

Please sign in to comment.