aboutsummaryrefslogtreecommitdiffstats
path: root/mumlib/src/config.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-01-02 18:47:10 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-01-02 18:47:10 +0100
commitbe7748be2f1e9d1e88ebd093da9eec16d1ad4049 (patch)
tree14c118236500a6ffff99bedd1487a7d2cbca009c /mumlib/src/config.rs
parent28f0ccd4639865e10690022c8164ba4c5b337102 (diff)
parent1c8b7316503d3ab710d3d3ec241b85e76b9a42be (diff)
downloadmum-be7748be2f1e9d1e88ebd093da9eec16d1ad4049.tar.gz
Merge remote-tracking branch 'origin/clippy' into main
Diffstat (limited to 'mumlib/src/config.rs')
-rw-r--r--mumlib/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mumlib/src/config.rs b/mumlib/src/config.rs
index 3a2fa27..5987ab9 100644
--- a/mumlib/src/config.rs
+++ b/mumlib/src/config.rs
@@ -138,7 +138,7 @@ impl TryFrom<TOMLConfig> for Config {
.collect()
})
.transpose()?
- .unwrap_or(Vec::new()),
+ .unwrap_or_default(),
})
}
}