mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Fixed missing double quote in the patch (slice.swap)
This commit is contained in:
@@ -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"]);
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user