Skip to content

Commit d71ba21

Browse files
authored
Fixed missing double quote in the patch (slice.swap)
1 parent bd7f6d2 commit d71ba21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/slice/mod.rs

Lines changed: 1 addition & 1 deletion
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)