summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)