Use new async || closure syntax 🎉
This commit is contained in:
parent
0f9934b1a7
commit
800a73ddd7
3 changed files with 3 additions and 3 deletions
|
|
@ -62,7 +62,7 @@ impl Image {
|
|||
}
|
||||
|
||||
pub fn download(self, size: Size) -> impl Straw<Rgba, Blurhash, Error> {
|
||||
sipper(move |mut sender| async move {
|
||||
sipper(async move |mut sender| {
|
||||
let client = reqwest::Client::new();
|
||||
|
||||
if let Size::Thumbnail { width, height } = size {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue