clippy fixes

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-02-03 11:38:55 -08:00
parent 8f4daa5e89
commit f8f3676450
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ fn create_nip96_request(
method: "POST".to_string(),
url: upload_url.to_string(),
headers,
body: body.into(),
body,
}
}

View File

@@ -269,7 +269,7 @@ impl<'a> PostView<'a> {
let m_cached_promise = self.img_cache.map().get(&media.url);
if m_cached_promise.is_none() {
let promise = fetch_img(
&self.img_cache,
self.img_cache,
ui.ctx(),
&media.url,
crate::images::ImageType::Content(width, height),