diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-09-20 15:00:31 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-09-20 15:13:16 +0200 |
commit | 7d478d997620c0af41a6ffb8b3f29dc6dda2cb98 (patch) | |
tree | 03b08b4c27401b46c3e64c53e3469d2803efa3e9 /src/config/options.rs | |
parent | 2bbc9109991f8bb79a09a965a1d2779e1749b25b (diff) | |
download | diplonat-7d478d997620c0af41a6ffb8b3f29dc6dda2cb98.tar.gz diplonat-7d478d997620c0af41a6ffb8b3f29dc6dda2cb98.zip |
Stricter Rust formating rules and build in the CI
Diffstat (limited to 'src/config/options.rs')
-rw-r--r-- | src/config/options.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/config/options.rs b/src/config/options.rs index f62d14c..b8dccf7 100644 --- a/src/config/options.rs +++ b/src/config/options.rs @@ -62,9 +62,7 @@ impl ConfigOpts { // Currently only used in tests #[allow(dead_code)] pub fn from_iter<Iter: Clone>(iter: Iter) -> Result<RuntimeConfig> - where - Iter: IntoIterator<Item = (String, String)>, - { + where Iter: IntoIterator<Item = (String, String)> { let base: ConfigOptsBase = envy::prefixed("DIPLONAT_").from_iter(iter.clone())?; let consul: ConfigOptsConsul = envy::prefixed("DIPLONAT_CONSUL_").from_iter(iter.clone())?; let acme: ConfigOptsAcme = envy::prefixed("DIPLONAT_ACME_").from_iter(iter.clone())?; |