From 3e6fed8bc664afa15a54f10582ce0b91ab191c12 Mon Sep 17 00:00:00 2001 From: Awiteb Date: Wed, 11 Jun 2025 10:28:11 +0000 Subject: [PATCH] chore: Remove unnecessary `ToString::to_string` call Signed-off-by: Awiteb --- src/cli/commands/patch/send.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cli/commands/patch/send.rs b/src/cli/commands/patch/send.rs index 124293b..20b5953 100644 --- a/src/cli/commands/patch/send.rs +++ b/src/cli/commands/patch/send.rs @@ -133,8 +133,7 @@ impl CommandRunner for SendArgs { .find(TagKind::Alt) .and_then(Tag::content) .expect("There is an alt") - .replace(PATCH_ALT_PREFIX, "") - .to_string(); + .replace(PATCH_ALT_PREFIX, ""); client .send_event_to(event, relays_list.as_ref(), &write_relays) .await