Fix docs variable name

Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
This commit is contained in:
Johan Andersson 2021-10-30 12:55:46 +02:00 committed by GitHub
parent 6e4ac4cffc
commit 0dded91541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1821,7 +1821,7 @@ impl<'help> App<'help> {
///
/// let res = app.try_get_matches_from_mut(vec!["foo", "-x"]);
///
/// // Since we changed `bar`'s short to "f" this should err as there
/// // Since we changed `foo`'s short to "f" this should err as there
/// // is no `-x` anymore, only `-f`
///
/// assert!(res.is_err());