Fixed missing double quote in the patch (slice.swap)
This commit is contained in:
parent
32a3edb153
commit
9b28ab40ac
1 changed files with 1 additions and 1 deletions
|
|
@ -553,7 +553,7 @@ impl<T> [T] {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// let mut v = ["a", "b", "c", "d", "e];
|
||||
/// let mut v = ["a", "b", "c", "d", "e"];
|
||||
/// v.swap(2, 4);
|
||||
/// assert!(v == ["a", "b", "e", "d", "c"]);
|
||||
/// ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue