Skip to content

Commit 9b28ab4

Browse files
authored
Fixed missing double quote in the patch (slice.swap)
1 parent 32a3edb commit 9b28ab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ impl<T> [T] {
553553
/// # Examples
554554
///
555555
/// ```
556-
/// let mut v = ["a", "b", "c", "d", "e];
556+
/// let mut v = ["a", "b", "c", "d", "e"];
557557
/// v.swap(2, 4);
558558
/// assert!(v == ["a", "b", "e", "d", "c"]);
559559
/// ```

0 commit comments

Comments
 (0)