Fix Command::batch documentation

This commit is contained in:
Héctor Ramón Jiménez 2019-12-28 12:19:04 +01:00
parent 62474d0e75
commit b1f89699b4

View File

@ -62,7 +62,7 @@ impl<T> Command<T> {
/// Creates a [`Command`] that performs the actions of all the given /// Creates a [`Command`] that performs the actions of all the given
/// commands. /// commands.
/// ///
/// Once this command is run, all the futures will be exectued at once. /// Once this command is run, all the commands will be exectued at once.
/// ///
/// [`Command`]: struct.Command.html /// [`Command`]: struct.Command.html
pub fn batch(commands: impl Iterator<Item = Command<T>>) -> Self { pub fn batch(commands: impl Iterator<Item = Command<T>>) -> Self {