Skip to content

Commit

Permalink
Fixed typo in closure
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhs92 authored Jul 27, 2020
1 parent 6c8927b commit 06cc666
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 06cc666

Please sign in to comment.