From 2edc690331632d52792ec3a9493f3f11196c371f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Thu, 12 Jun 2025 16:25:15 +0000 Subject: [PATCH] [wip] impl `Client` for `ureq::Agent` - clippy fix --- src/appstate.rs | 2 +- src/cachefile.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/appstate.rs b/src/appstate.rs index 8cbc2e5..d9b90d2 100644 --- a/src/appstate.rs +++ b/src/appstate.rs @@ -22,7 +22,7 @@ impl fmt::Debug for AppState { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("AppState") .field("inner", &self.inner) - .finish() + .finish_non_exhaustive() } } diff --git a/src/cachefile.rs b/src/cachefile.rs index 07bf647..fe9b3a9 100644 --- a/src/cachefile.rs +++ b/src/cachefile.rs @@ -83,7 +83,7 @@ impl CacheFile { pub fn from_args(args: &Cli, share_id: String) -> Self { Self { - file_name: Self::cache_file(&args), + file_name: Self::cache_file(args), uri: args.get_uri(), alias_id: args.alias.clone(), share_id,