aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input
diff options
context:
space:
mode:
authorBrooks J Rady <b.j.rady@gmail.com>2021-04-13 18:14:13 +0100
committerBrooks J Rady <b.j.rady@gmail.com>2021-04-13 18:14:13 +0100
commit6f4dcfbf65f522b318ebd359df5658a72b618392 (patch)
treed4b1591be1139a4b67d3d4f0b340a133a27ba189 /src/common/input
parentfix(ci): unbreak things (diff)
downloadsl0ppij-6f4dcfbf65f522b318ebd359df5658a72b618392.tar.gz
sl0ppij-6f4dcfbf65f522b318ebd359df5658a72b618392.tar.xz
sl0ppij-6f4dcfbf65f522b318ebd359df5658a72b618392.zip
fix(clippy): get ci passing again
Diffstat (limited to 'src/common/input')
-rw-r--r--src/common/input/config.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/input/config.rs b/src/common/input/config.rs
index 4bb9e10f..1926b11c 100644
--- a/src/common/input/config.rs
+++ b/src/common/input/config.rs
@@ -51,7 +51,6 @@ impl Config {
}
/// Deserializes from given path.
- #[allow(unused_must_use)]
pub fn new(path: &Path) -> ConfigResult {
match File::open(path) {
Ok(mut file) => {
@@ -90,7 +89,6 @@ impl Config {
}
}
- //#[allow(unused_must_use)]
/// In order not to mess up tests from changing configurations
#[cfg(test)]
pub fn from_cli_config(_: Option<ConfigCli>) -> ConfigResult {