Remove scope
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
21d411f57b
commit
feea57679d
1 changed files with 5 additions and 7 deletions
|
@ -137,13 +137,11 @@ impl<'a> Runtime<'a> {
|
||||||
Store::new(storepath, &config)
|
Store::new(storepath, &config)
|
||||||
};
|
};
|
||||||
|
|
||||||
store_result.map(|store| {
|
store_result.map(|store| Runtime {
|
||||||
Runtime {
|
cli_matches: matches,
|
||||||
cli_matches: matches,
|
configuration: config,
|
||||||
configuration: config,
|
rtp: rtp,
|
||||||
rtp: rtp,
|
store: store,
|
||||||
store: store,
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
.context(err_msg("Cannot instantiate runtime"))
|
.context(err_msg("Cannot instantiate runtime"))
|
||||||
.map_err(Error::from)
|
.map_err(Error::from)
|
||||||
|
|
Loading…
Reference in a new issue