mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-16 12:43:01 -04:00
Fix comment wrongly referring to vector.
Co-authored-by: Jonas Platte <jplatte@matrix.org>
This commit is contained in:
@@ -81,7 +81,7 @@ impl<T> RingBuffer<T> {
|
||||
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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user