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,