Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
CreepySkeleton committed Aug 12, 2020
1 parent 6169bb8 commit 39fadbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/build/app/debug_asserts.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::{App, AppSettings, ArgSettings};
use crate::{App, AppSettings, ArgSettings, ValueHint};
use std::cmp::Ordering;

#[derive(Eq)]
Expand Down Expand Up @@ -197,7 +197,7 @@ pub(crate) fn assert_app(app: &App) {
);

assert!(
self.is_set(AppSettings::TrailingVarArg),
app.is_set(AppSettings::TrailingVarArg),
"Positional argument '{}' has hint CommandWithArguments, so App must have TrailingVarArg set.",
arg.name
);
Expand Down
2 changes: 1 addition & 1 deletion src/build/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use crate::{
output::{fmt::Colorizer, Help, HelpWriter, Usage},
parse::{ArgMatcher, ArgMatches, Input, Parser},
util::{safe_exit, termcolor::ColorChoice, ArgStr, Id, Key},
Result as ClapResult, ValueHint, INTERNAL_ERROR_MSG,
Result as ClapResult, INTERNAL_ERROR_MSG,
};

// FIXME (@CreepySkeleton): some of these variants are never constructed
Expand Down

0 comments on commit 39fadbf

Please sign in to comment.