diff options
author | Daniel Mueller <deso@posteo.net> | 2020-04-11 13:23:52 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-04-11 13:23:52 -0700 |
commit | fafbf4a1bf635d5eea049cf561fbf8aa293c8e2b (patch) | |
tree | d018a9e74d044e9161f436f2a5fd977022cf9599 /src/arg_util.rs | |
parent | 93c605418568bf71bcc3be6956f07f9650b45fea (diff) | |
download | nitrocli-fafbf4a1bf635d5eea049cf561fbf8aa293c8e2b.tar.gz nitrocli-fafbf4a1bf635d5eea049cf561fbf8aa293c8e2b.tar.bz2 |
Merge remaining bits of args.rs into main.rs
This change removes the args module by moving all remaining
functionality in it into main.rs. The result is arguably a nice
consolidation of all context related definitions in a single module.
Diffstat (limited to 'src/arg_util.rs')
-rw-r--r-- | src/arg_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arg_util.rs b/src/arg_util.rs index c16c326..439a594 100644 --- a/src/arg_util.rs +++ b/src/arg_util.rs @@ -46,7 +46,7 @@ macro_rules! Command { impl $name { pub fn execute( self, - ctx: &mut crate::args::ExecCtx<'_>, + ctx: &mut crate::ExecCtx<'_>, ) -> crate::Result<()> { match self { $( |