Skip to content

Commit 8b9a5bf

Browse files
authored
Fix as_slice documentation.
1 parent 680b10b commit 8b9a5bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ impl<A: Array> SmallVec<A> {
519519

520520
/// Extracts a slice containing the entire vector.
521521
///
522-
/// Equivalent to `&mut s[..]`.
522+
/// Equivalent to `&s[..]`.
523523
pub fn as_slice(&self) -> &[A::Item] {
524524
self
525525
}

0 commit comments

Comments
 (0)