From 637f655b6fe48fb8312b338d439a548911743057 Mon Sep 17 00:00:00 2001 From: Miroslav Prasil Date: Tue, 5 Feb 2019 14:16:07 +0000 Subject: [PATCH] Do not allocate uneccessary Vec --- src/api/core/ciphers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs index ab6a321d..2d03459f 100644 --- a/src/api/core/ciphers.rs +++ b/src/api/core/ciphers.rs @@ -857,7 +857,7 @@ fn move_cipher_selected(data: JsonUpcase, headers: Headers, conn nt.send_cipher_update( UpdateType::CipherUpdate, &cipher, - &vec![user_uuid.clone()] + &[user_uuid.clone()] ); }