diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-04-06 10:13:58 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-04-06 10:19:20 +0200 |
commit | 95eba9fd41ccc81480767e3abc6c5d91d5862ee9 (patch) | |
tree | 17069a4c6edc95bf925636ed9d02ca11f9706ca2 /src/frontend/mod.rs | |
parent | 6c75d139d7636d37748a5dcc655b0862a51038e3 (diff) |
Fix clippy: Add missing "dyn" keyword
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/frontend/mod.rs')
-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"); |