chore: Remove unnecessary ToString::to_string call

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-06-11 10:28:11 +00:00
parent 431bfd2512
commit 3e6fed8bc6

View File

@@ -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