From ac15be86c13fa52141177a459cada0d87f3b64f4 Mon Sep 17 00:00:00 2001 From: VillSnow Date: Sat, 4 Jul 2020 00:47:07 +0900 Subject: [PATCH] Fixed typo --- src/libcore/slice/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs index e7c8f5c88cd2f..ecd975eb9c8b5 100644 --- a/src/libcore/slice/mod.rs +++ b/src/libcore/slice/mod.rs @@ -2701,7 +2701,7 @@ impl [T] { // SAFETY: // When left < right, left <= mid < right. // Therefore left always increases and right always decreases, - // and eigher of them is selected. + // and either of them is selected. // In both cases left <= right is satisfied. // Therefore if left < right in a step, // left <= right is satisfied in the next step.