diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-11-06 19:51:23 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-11-06 20:04:47 +0100 |
commit | feea57679d678288e066580364e7b0a579c7d1f7 (patch) | |
tree | a43247c8274c92586b7ff0ea11718db4fda06d57 /lib/core | |
parent | 21d411f57b42090ee466e52ff2c41eb49a7a155b (diff) |
Remove scope
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/libimagrt/src/runtime.rs | 12 |
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) |