vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 637f655b6fe48fb8312b338d439a548911743057
parent b3f7394c06f78fd0019947d6d82f21fedd7a7db5
Author: Miroslav Prasil <miroslav@prasil.info>
Date:   Tue,  5 Feb 2019 14:16:07 +0000

Do not allocate uneccessary Vec

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