diff --git a/crates/matrix-sdk-common/src/ring_buffer.rs b/crates/matrix-sdk-common/src/ring_buffer.rs index 49bdee7da..6f59f8f74 100644 --- a/crates/matrix-sdk-common/src/ring_buffer.rs +++ b/crates/matrix-sdk-common/src/ring_buffer.rs @@ -81,7 +81,7 @@ impl RingBuffer { self.inner.clear(); } - /// Returns the total number of elements the vector can hold + /// Returns the total number of elements the `RingBuffer` can hold. pub fn capacity(&self) -> usize { self.inner.capacity() }