From 8f3035fccc122b289b238fb2591397a33efa1103 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 19 Dec 2024 09:04:23 +0000 Subject: [PATCH] refactor: remove dead code --- src/nextcloud/mod.rs | 7 ------- src/trello/model/auth.rs | 6 ------ 2 files changed, 13 deletions(-) diff --git a/src/nextcloud/mod.rs b/src/nextcloud/mod.rs index aef5b88..4023473 100644 --- a/src/nextcloud/mod.rs +++ b/src/nextcloud/mod.rs @@ -23,13 +23,6 @@ mod stack; #[cfg(test)] mod tests; -pub(crate) struct DeckClient<'ctx> { - ctx: &'ctx FullCtx, - hostname: &'ctx NextcloudHostname, - username: &'ctx NextcloudUsername, - password: &'ctx NextcloudPassword, -} - #[derive(Parser, Debug)] pub enum NextcloudCommand { #[clap(subcommand)] diff --git a/src/trello/model/auth.rs b/src/trello/model/auth.rs index 8a9eab4..cfeb3a6 100644 --- a/src/trello/model/auth.rs +++ b/src/trello/model/auth.rs @@ -12,9 +12,3 @@ newtype!( Ord, "API Secret token for Trello" ); - -#[derive(Debug, Clone)] -pub(crate) struct TrelloAuth<'cfg> { - pub(crate) api_key: &'cfg TrelloApiKey, - pub(crate) api_secret: &'cfg TrelloApiSecret, -}