@@ -109,7 +109,7 @@ impl<'a, 'b> App<'a, 'b> {
109
109
a
110
110
}
111
111
112
- /// Creates a new instace of [`App`] from a .yml (YAML) file. A full example of supported YAML
112
+ /// Creates a new instance of [`App`] from a .yml (YAML) file. A full example of supported YAML
113
113
/// objects can be found in [`examples/17_yaml.rs`] and [`examples/17_yaml.yml`]. One great use
114
114
/// for using YAML is when supporting multiple languages and dialects, as each language could
115
115
/// be a distinct YAML file and determined at compiletime via `cargo` "features" in your
@@ -177,7 +177,7 @@ impl<'a, 'b> App<'a, 'b> {
177
177
}
178
178
179
179
/// Overrides the system-determined binary name. This should only be used when absolutely
180
- /// neccessary , such as when the binary name for your application is misleading, or perhaps
180
+ /// necessary , such as when the binary name for your application is misleading, or perhaps
181
181
/// *not* how the user should invoke your program.
182
182
///
183
183
/// **Pro-tip:** When building things such as third party `cargo` subcommands, this setting
@@ -614,7 +614,7 @@ impl<'a, 'b> App<'a, 'b> {
614
614
self
615
615
}
616
616
617
- /// Adds an [argument] to the list of valid possibilties .
617
+ /// Adds an [argument] to the list of valid possibilities .
618
618
///
619
619
/// # Examples
620
620
///
@@ -893,7 +893,7 @@ impl<'a, 'b> App<'a, 'b> {
893
893
self
894
894
}
895
895
896
- /// Adds a [`SubCommand`] to the list of valid possibilties . Subcommands are effectively
896
+ /// Adds a [`SubCommand`] to the list of valid possibilities . Subcommands are effectively
897
897
/// sub-[`App`]s, because they can contain their own arguments, subcommands, version, usage,
898
898
/// etc. They also function just like [`App`]s, in that they get their own auto generated help,
899
899
/// version, and usage.
@@ -915,7 +915,7 @@ impl<'a, 'b> App<'a, 'b> {
915
915
self
916
916
}
917
917
918
- /// Adds multiple subcommands to the list of valid possibilties by iterating over an
918
+ /// Adds multiple subcommands to the list of valid possibilities by iterating over an
919
919
/// [`IntoIterator`] of [`SubCommand`]s
920
920
///
921
921
/// # Examples
@@ -1052,9 +1052,9 @@ impl<'a, 'b> App<'a, 'b> {
1052
1052
/// The following example generates a bash completion script via a `build.rs` script. In this
1053
1053
/// simple example, we'll demo a very small application with only a single subcommand and two
1054
1054
/// args. Real applications could be many multiple levels deep in subcommands, and have tens or
1055
- /// potentiall hundreds of arguments.
1055
+ /// potentially hundreds of arguments.
1056
1056
///
1057
- /// First, it helps if we separate out our `App` definition into a seperate file. Whether you
1057
+ /// First, it helps if we separate out our `App` definition into a separate file. Whether you
1058
1058
/// do this as a function, or bare App definition is a matter of personal preference.
1059
1059
///
1060
1060
/// ```
0 commit comments