Fixed missing double quote in the patch (slice.swap)

This commit is contained in:
Tommaso Fontana 2021-10-25 14:13:54 +02:00 committed by GitHub
parent 32a3edb153
commit 9b28ab40ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"]);
/// ```