Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
willmurphyscode committed Oct 18, 2017
1 parent b896dc0 commit e7743fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/args/arg_matches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use std::slice::Iter;
use INVALID_UTF8;
use args::MatchedArg;
use args::SubCommand;
use args::settings::ArgSettings;

/// Used to get information about the arguments that where supplied to the program at runtime by
/// the user. New instances of this struct are obtained by using the [`App::get_matches`] family of
Expand Down Expand Up @@ -392,7 +391,6 @@ impl<'a> ArgMatches<'a> {
pub fn subcommand_matches<S: AsRef<str>>(&self, name: S) -> Option<&ArgMatches<'a>> {
if let Some(ref s) = self.subcommand {
if s.name == name.as_ref() {
// TODO: when we reach here, the return value should have globals in it
return Some(&s.matches);
}
}
Expand Down

0 comments on commit e7743fd

Please sign in to comment.