Skip to content

Commit

Permalink
docs: fix link to VecDeque by replacing std with alloc
Browse files Browse the repository at this point in the history
  • Loading branch information
tertsdiepraam committed Jun 8, 2023
1 parent 8bb86ac commit 758d998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/with_alloc/vecdeque.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use alloc::collections::VecDeque;
use core::ops::{Deref, DerefMut, Index, IndexMut};

/// A growable ringbuffer. Once capacity is reached, the size is doubled.
/// Wrapper of the built-in [`VecDeque`](std::collections::VecDeque) struct
/// Wrapper of the built-in [`VecDeque`](alloc::collections::VecDeque) struct
///
/// The reason this is a wrapper, is that we want `RingBuffers` to implement `Index<isize>`,
/// which we cannot do for remote types like `VecDeque`
Expand Down

0 comments on commit 758d998

Please sign in to comment.