From c7de3aae3f74c752d9c7c7ee7033cb2f7dafe472 Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 26 Jul 2024 07:12:20 +0900 Subject: [PATCH] chore (backend-rs): fix clippy warning --- packages/backend-rs/src/service/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend-rs/src/service/stream.rs b/packages/backend-rs/src/service/stream.rs index a3f34c4185..59e68e20cd 100644 --- a/packages/backend-rs/src/service/stream.rs +++ b/packages/backend-rs/src/service/stream.rs @@ -85,7 +85,7 @@ pub async fn publish_to_stream( Stream::User { user_id } => format!("user:{user_id}"), Stream::Channel { channel_id } => format!("channelStream:{channel_id}"), Stream::Note { note_id } => format!("noteStream:{note_id}"), - Stream::NoteEdit => format!("noteUpdatesStream"), + Stream::NoteEdit => "noteUpdatesStream".to_owned(), Stream::Notes => "notesStream".to_owned(), Stream::Main { user_id } => format!("mainStream:{user_id}"), Stream::Drive { user_id } => format!("driveStream:{user_id}"),