diff options
Diffstat (limited to 'examples/gallery/src/civitai.rs')
-rw-r--r-- | examples/gallery/src/civitai.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gallery/src/civitai.rs b/examples/gallery/src/civitai.rs index 04589030..1102acae 100644 --- a/examples/gallery/src/civitai.rs +++ b/examples/gallery/src/civitai.rs @@ -1,6 +1,6 @@ use bytes::Bytes; use serde::Deserialize; -use sipper::{sipper, Straw}; +use sipper::{Straw, sipper}; use tokio::task; use std::fmt; @@ -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 { |