Do not allocate uneccessary Vec

pull/385/head
Miroslav Prasil 6 years ago
parent b3f7394c06
commit 637f655b6f

@ -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()]
); );
} }

Loading…
Cancel
Save