diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-07-27 19:32:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-27 19:32:02 +0900 |
| commit | 7df242dd0900c9ac9bf79c184c72b0978ef9fa9e (patch) | |
| tree | d5c216b2d6208e63a94d43974f915544fe5238a5 /src/libcore | |
| parent | 0042e41181d9cd4dee0255be5d0e873389c0115c (diff) | |
| parent | 06cc66619797161eab89d321bcc6420d9770b0eb (diff) | |
| download | rust-7df242dd0900c9ac9bf79c184c72b0978ef9fa9e.tar.gz rust-7df242dd0900c9ac9bf79c184c72b0978ef9fa9e.zip | |
Rollup merge of #74799 - Dhs92:master, r=joshtriplett
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`]). /// |
