aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_common/src/log.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-28 00:06:40 -0700
committerFuwn <[email protected]>2021-05-28 00:06:40 -0700
commit179ce3277ece536cae41b834469f4065e3600d82 (patch)
treea96d55a34531c9761f6309c35f8d9cfab9879db6 /crates/whirl_common/src/log.rs
parentMerge branch 'develop' of https://github.com/Whirlsplash/whirl into develop (diff)
downloadwhirl-179ce3277ece536cae41b834469f4065e3600d82.tar.xz
whirl-179ce3277ece536cae41b834469f4065e3600d82.zip
fix(global): a lot of clippy warnings
This change makes clippy **a lot** more strict.
Diffstat (limited to 'crates/whirl_common/src/log.rs')
-rw-r--r--crates/whirl_common/src/log.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/whirl_common/src/log.rs b/crates/whirl_common/src/log.rs
index e905bc8..d2df568 100644
--- a/crates/whirl_common/src/log.rs
+++ b/crates/whirl_common/src/log.rs
@@ -5,6 +5,7 @@ use whirl_config::Config;
/// Grab the log level configuration key (`whirlsplash.log.level`) from the
/// configuration file and evaluate the proper log level.
+#[must_use]
pub fn calculate_log_level() -> String {
let mut level;