summaryrefslogtreecommitdiffstats
path: root/lib/core
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-11-06 19:51:23 +0100
committerMatthias Beyer <mail@beyermatthias.de>2018-11-06 20:04:47 +0100
commitfeea57679d678288e066580364e7b0a579c7d1f7 (patch)
treea43247c8274c92586b7ff0ea11718db4fda06d57 /lib/core
parent21d411f57b42090ee466e52ff2c41eb49a7a155b (diff)
Remove scope
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/libimagrt/src/runtime.rs12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/core/libimagrt/src/runtime.rs b/lib/core/libimagrt/src/runtime.rs
index 04ee77e2..8844afe7 100644
--- a/lib/core/libimagrt/src/runtime.rs
+++ b/lib/core/libimagrt/src/runtime.rs
@@ -137,13 +137,11 @@ impl<'a> Runtime<'a> {
Store::new(storepath, &config)
};
- store_result.map(|store| {
- Runtime {
- cli_matches: matches,
- configuration: config,
- rtp: rtp,
- store: store,
- }
+ store_result.map(|store| Runtime {
+ cli_matches: matches,
+ configuration: config,
+ rtp: rtp,
+ store: store,
})
.context(err_msg("Cannot instantiate runtime"))
.map_err(Error::from)