Skip to content

Commit

Permalink
Rollup merge of #74799 - Dhs92:master, r=joshtriplett
Browse files Browse the repository at this point in the history
Fixed typo in `closure`
  • Loading branch information
JohnTitor authored Jul 27, 2020
2 parents 0042e41 + 06cc666 commit 7df242d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/ops/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`]).
///
Expand Down

0 comments on commit 7df242d

Please sign in to comment.