diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-09-10 09:30:05 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-09-10 09:56:02 +0200 |
commit | f0b78fdfea41d26442b315559958b14c18fae3cf (patch) | |
tree | 69bb86908a2ed40582199c7e8d0d83200aacd106 | |
parent | c47278050d7de3aa05c459325522ea99edcd4e11 (diff) |
Fix warning about missing keyword
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | src/frontend/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs index 3bb912c..bcce43a 100644 --- a/src/frontend/mod.rs +++ b/src/frontend/mod.rs @@ -22,7 +22,7 @@ pub mod json; pub mod table; /// Helper function for building a new Frontend object based on the commandline parameters -pub fn new_frontend(app: &ArgMatches, _config: &Configuration) -> Result<Box<Frontend>> { +pub fn new_frontend(app: &ArgMatches, _config: &Configuration) -> Result<Box<dyn Frontend>> { match app.value_of("output") { None | Some("lines") => { debug!("No output specified, using default"); |