about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorAlex <forehand.alex@gmail.com>2020-07-26 17:05:49 -0700
committerGitHub <noreply@github.com>2020-07-26 17:05:49 -0700
commit06cc66619797161eab89d321bcc6420d9770b0eb (patch)
treec7f3da23a555f0d851fe2f29aab1c171aaa5ced1 /src/libcore
parent6c8927b0cf80ceee19386026cf9d7fd4fd9d486f (diff)
downloadrust-06cc66619797161eab89d321bcc6420d9770b0eb.tar.gz
rust-06cc66619797161eab89d321bcc6420d9770b0eb.zip
Fixed typo in `closure`
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ops/function.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ops/function.rs b/src/libcore/ops/function.rs
index 4f08aa45187..3e5cad2b185 100644
--- a/src/libcore/ops/function.rs
+++ b/src/libcore/ops/function.rs
@@ -160,7 +160,7 @@ pub trait FnMut<Args>: FnOnce<Args> {
 /// 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`]).
 ///