diff --git a/src/with_alloc/alloc_ringbuffer.rs b/src/with_alloc/alloc_ringbuffer.rs index c64ecbd..00ae865 100644 --- a/src/with_alloc/alloc_ringbuffer.rs +++ b/src/with_alloc/alloc_ringbuffer.rs @@ -306,7 +306,7 @@ impl AllocRingBuffer { } #[inline] - /// Alias of [`with_capacity`](AllocRingBuffer::new). + /// Alias of [`new`](AllocRingBuffer::new). #[must_use] #[deprecated = "alias of new"] pub fn with_capacity(cap: usize) -> Self {