Do not allocate uneccessary Vec

This commit is contained in:
Miroslav Prasil 2019-02-05 14:16:07 +00:00
parent b3f7394c06
commit 637f655b6f
1 changed files with 1 additions and 1 deletions

View File

@ -857,7 +857,7 @@ fn move_cipher_selected(data: JsonUpcase<MoveCipherData>, headers: Headers, conn
nt.send_cipher_update( nt.send_cipher_update(
UpdateType::CipherUpdate, UpdateType::CipherUpdate,
&cipher, &cipher,
&vec![user_uuid.clone()] &[user_uuid.clone()]
); );
} }