diff options
| author | Tommaso Fontana <zommy21@hotmail.it> | 2021-10-25 14:13:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-25 14:13:54 +0200 |
| commit | 9b28ab40acd55b5d26b6fcdae75873ea321f696d (patch) | |
| tree | b6e3534794960b7f27501b2d8296cbace4a1ebdf | |
| parent | 32a3edb153f46d2864db0a5e6894a2e2ab8e3d52 (diff) | |
| download | rust-9b28ab40acd55b5d26b6fcdae75873ea321f696d.tar.gz rust-9b28ab40acd55b5d26b6fcdae75873ea321f696d.zip | |
Fixed missing double quote in the patch (slice.swap)
| -rw-r--r-- | library/core/src/slice/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index 92b1e1d75c6..a6370a4513b 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -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"]); /// ``` |
