Drop mut from variable to silence linter (#7704)

This commit is contained in:
Jonas Tepe 2023-07-22 16:31:24 +02:00 committed by GitHub
parent 5c41f22c2a
commit 505213d41b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ async fn run(mut rx: mpsc::UnboundedReceiver<Event>) {
registration_id
);
let mut entry = state.entry(client_id).or_insert_with(ClientState::default);
let entry = state.entry(client_id).or_insert_with(ClientState::default);
entry.client = client;
let mut builder = GlobSetBuilder::new();