From 1c82ed3a805aa0284091050d84fe55bbe134c025 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 15 Dec 2024 17:31:35 +0000 Subject: [PATCH] chore: remove dead code: trello::url() --- src/trello/mod.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/trello/mod.rs b/src/trello/mod.rs index 5f636d6..0fe89ba 100644 --- a/src/trello/mod.rs +++ b/src/trello/mod.rs @@ -3,7 +3,6 @@ use clap::Parser; use crate::{ execute::Execute, - f, trello::{ attachment::TrelloAttachmentCommand, board::TrelloBoardCommand, @@ -29,12 +28,6 @@ pub(crate) mod stack; #[cfg(test)] mod tests; -pub(crate) fn url(path: impl Into) -> String { - let path = path.into(); - assert!(path.starts_with("/")); - f!("https://api.trello.com/1{path}") -} - #[derive(Parser, Debug)] pub(crate) enum TrelloCommand { #[clap(subcommand)]