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
+1 -1
View File
@@ -553,7 +553,7 @@ pub const fn as_mut_ptr_range(&mut self) -> Range<*mut 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"]);
/// ```