Fixed typo in closure

This commit is contained in:
Alex 2020-07-26 17:05:49 -07:00 committed by GitHub
parent 6c8927b0cf
commit 06cc666197
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`]).
///