From 06cc66619797161eab89d321bcc6420d9770b0eb Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 26 Jul 2020 17:05:49 -0700 Subject: [PATCH] Fixed typo in `closure` --- src/libcore/ops/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/ops/function.rs b/src/libcore/ops/function.rs index 4f08aa451875f..3e5cad2b185a1 100644 --- a/src/libcore/ops/function.rs +++ b/src/libcore/ops/function.rs @@ -160,7 +160,7 @@ pub trait FnMut: FnOnce { /// times. Because of this, if the only thing known about a type is that it /// implements `FnOnce`, it can only be called once. /// -/// `FnOnce` is implemented automatically by closure that might consume captured +/// `FnOnce` is implemented automatically by closures that might consume captured /// variables, as well as all types that implement [`FnMut`], e.g., (safe) /// [function pointers] (since `FnOnce` is a supertrait of [`FnMut`]). ///