Skip to content

Commit 5758c25

Browse files
author
bors-servo
authored
Auto merge of #81 - rdwilliamson:patch-1, r=mbrubeck
Fix as_slice documentation. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/81) <!-- Reviewable:end -->
2 parents 680b10b + 8b9a5bf commit 5758c25

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)