Skip to content

Commit 7df242d

Browse files
authored
Rollup merge of rust-lang#74799 - Dhs92:master, r=joshtriplett
Fixed typo in `closure`
2 parents 0042e41 + 06cc666 commit 7df242d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/ops/function.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ pub trait FnMut<Args>: FnOnce<Args> {
160160
/// times. Because of this, if the only thing known about a type is that it
161161
/// implements `FnOnce`, it can only be called once.
162162
///
163-
/// `FnOnce` is implemented automatically by closure that might consume captured
163+
/// `FnOnce` is implemented automatically by closures that might consume captured
164164
/// variables, as well as all types that implement [`FnMut`], e.g., (safe)
165165
/// [function pointers] (since `FnOnce` is a supertrait of [`FnMut`]).
166166
///

0 commit comments

Comments
 (0)