fix: clippy cleanups in upload tracking and share plumbing

This commit is contained in:
michel
2026-07-20 20:52:08 +02:00
parent 6238c44312
commit 4936d4dd2a
4 changed files with 5 additions and 4 deletions
+1
View File
@@ -701,6 +701,7 @@ impl Client {
/// Ask an in-progress upload to `username` of `filename` to stop.
/// Returns whether a matching in-progress upload was found.
#[must_use = "returns whether a matching upload was found"]
pub fn cancel_upload(&self, username: &str, filename: &str) -> bool {
self.context.read_safe().is_ok_and(|ctx| {
let mut found = false;