diff options
author | Vika <vika@fireburn.ru> | 2025-01-01 05:57:47 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-01-01 07:08:33 +0300 |
commit | fc925564cc2324b1343da721b1e8aab680292ac9 (patch) | |
tree | 2619934c146f236ac377f91a44faccbe3abaa904 /src/media | |
parent | 5ad8443c8d6d9ed3f9d28ac52af529ceb41d741f (diff) | |
download | kittybox-fc925564cc2324b1343da721b1e8aab680292ac9.tar.zst |
Partially appease clippy
Some false positives on `serde(rename)` remain, as well as lints still requiring my attention. Change-Id: I3166771af20b2d07c6226b3b1a9d15fe36152356
Diffstat (limited to 'src/media')
-rw-r--r-- | src/media/storage/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media/storage/mod.rs b/src/media/storage/mod.rs index b6f6ad7..551b61e 100644 --- a/src/media/storage/mod.rs +++ b/src/media/storage/mod.rs @@ -174,7 +174,7 @@ pub trait MediaStore: 'static + Send + Sync + Clone { fn metadata(&self, domain: &str, filename: &str) -> impl Future<Output = Result<Metadata>> + Send { async move { self.read_streaming(domain, filename) .await - .map(|(meta, stream)| meta) + .map(|(meta, _)| meta) } } fn delete(&self, domain: &str, filename: &str) -> impl Future<Output = Result<()>> + Send; |