diff options
| author | Anirudh Balaji <anirudhb@users.noreply.github.com> | 2018-06-27 13:49:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-27 13:49:50 -0700 |
| commit | c95fba7b5b7cc3a923707df414f4bc8258400d52 (patch) | |
| tree | 2d70c6ab0b7a8ba80ac82cf9b172b8307b8f61e7 /src | |
| parent | 57f7f22fe46a08c197e4cd1d2e78df9de4c00798 (diff) | |
| download | rust-c95fba7b5b7cc3a923707df414f4bc8258400d52.tar.gz rust-c95fba7b5b7cc3a923707df414f4bc8258400d52.zip | |
Nit: Remove leading whitespace
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/slice/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs index a6d95b11825..0ee4c0bdbe7 100644 --- a/src/libcore/slice/mod.rs +++ b/src/libcore/slice/mod.rs @@ -1541,7 +1541,7 @@ impl<T> [T] { /// let src = [1, 2, 3, 4]; /// let mut dst = [0, 0]; /// - /// // Note: the slices must be the same length, so you can slice the + /// // Note: the slices must be the same length, so you can slice the /// // source to be the same size. Here we slice the source, four elements, /// // to two, the same size as the destination slice. It *will* panic if we don't do this. /// dst.clone_from_slice(&src[2..]); @@ -1610,7 +1610,7 @@ impl<T> [T] { /// let src = [1, 2, 3, 4]; /// let mut dst = [0, 0]; /// - /// // Note: the slices must be the same length, so you can slice the + /// // Note: the slices must be the same length, so you can slice the /// // source to be the same size. Here we slice the source, four elements, /// // to two, the same size as the destination slice. It *will* panic if we don't do this. /// dst.copy_from_slice(&src[2..]); |
