Fix typos (#935)

This commit is contained in:
radl97 2022-12-11 00:59:59 +01:00 committed by GitHub
parent 2f9b279428
commit 4e2e4eb5c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ impl CommandConfigurator for StdCommandConfigurator {
/// Construct a `CommandExecutor` by implementing [`CommandConfigurator`] for a type of your choice and calling [`CommandConfigurator::into_executor`] on it.
/// Instead, you can use [`CommandExecutor::builder()`] to construct a [`CommandExecutor`] backed by a [`StdCommandConfigurator`].
pub struct CommandExecutor<EM, OT, S, T, Z> {
/// The wrapped comand configurer
/// The wrapped command configurer
configurer: T,
/// The observers used by this executor
observers: OT,
@ -526,7 +526,7 @@ impl CommandExecutorBuilder {
self
}
/// Builds the `ComandExecutor`
/// Builds the `CommandExecutor`
pub fn build<EM, OT, S, Z>(
&self,
observers: OT,
@ -537,7 +537,7 @@ impl CommandExecutorBuilder {
{
let Some(program) = &self.program else {
return Err(Error::illegal_argument(
"ComandExecutor::builder: no program set!",
"CommandExecutor::builder: no program set!",
));
};