diff options
| author | Alex <forehand.alex@gmail.com> | 2020-07-26 17:05:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-26 17:05:49 -0700 |
| commit | 06cc66619797161eab89d321bcc6420d9770b0eb (patch) | |
| tree | c7f3da23a555f0d851fe2f29aab1c171aaa5ced1 /src/libcore | |
| parent | 6c8927b0cf80ceee19386026cf9d7fd4fd9d486f (diff) | |
| download | rust-06cc66619797161eab89d321bcc6420d9770b0eb.tar.gz rust-06cc66619797161eab89d321bcc6420d9770b0eb.zip | |
Fixed typo in `closure`
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/ops/function.rs | 2 |
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`]). /// |
