about summary refs log tree commit diff
path: root/src/libcore/slice
diff options
context:
space:
mode:
authorVillSnow <vill.snow@gmail.com>2020-06-28 16:27:41 +0900
committerVillSnow <vill.snow@gmail.com>2020-06-28 16:27:41 +0900
commit83d599826f890fd991687e17a1b389bcdf3d2f65 (patch)
treec9c67f13a7816c9a112ed543cd1efde6ad25e680 /src/libcore/slice
parent52f976236f0dc1a797578ae41ba1193cbed50677 (diff)
parent93357876573943e6531c1deea3159f79428e017d (diff)
downloadrust-83d599826f890fd991687e17a1b389bcdf3d2f65.tar.gz
rust-83d599826f890fd991687e17a1b389bcdf3d2f65.zip
Merge branch 'master' of https://github.com/VillSnow/rust
Diffstat (limited to 'src/libcore/slice')
-rw-r--r--src/libcore/slice/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs
index 3b51f973ffb..cd4967e10e4 100644
--- a/src/libcore/slice/mod.rs
+++ b/src/libcore/slice/mod.rs
@@ -2710,7 +2710,8 @@ impl<T> [T] {
                 right = mid;
             }
         }
-        return left;
+
+        left
     }
 }