Verified Commit e633fa41 authored by Jordan Petridis's avatar Jordan Petridis 🌱

Pipeline: Minor formatting improvment

parent dac303e3
......@@ -35,9 +35,8 @@ where
sources
.and_then(move |s| s.into_feed(client.clone()))
.and_then(move |feed| {
pool.spawn(lazy(|| {
feed.index().map_err(|err| error!("Error: {}", err))
})).map_err(From::from)
let fut = lazy(|| feed.index().map_err(|err| error!("Error: {}", err)));
pool.spawn(fut).map_err(From::from)
})
// the stream will stop at the first error so
// we ensure that everything will succeded regardless.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment