aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input
diff options
context:
space:
mode:
authorBrooks Rady <b.j.rady@gmail.com>2021-04-13 18:36:06 +0100
committerGitHub <noreply@github.com>2021-04-13 18:36:06 +0100
commit24161375d15485c4f27ec34c43476aa0e01d8f47 (patch)
treed4b1591be1139a4b67d3d4f0b340a133a27ba189 /src/common/input
parentfix(performance): remove unnecessary allocations from pty (#264) (diff)
parentfix(clippy): get ci passing again (diff)
downloadsl0ppij-24161375d15485c4f27ec34c43476aa0e01d8f47.tar.gz
sl0ppij-24161375d15485c4f27ec34c43476aa0e01d8f47.tar.xz
sl0ppij-24161375d15485c4f27ec34c43476aa0e01d8f47.zip
feat(build): new cargo-make based build system
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 {