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 b00fbf153e6e4d931375073d8b9aa032bd0d7572
parent 0de5919a1639ea0e49e0545a33d906de504c1b52
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Mon, 23 May 2022 19:52:58 +0200

Fix clippy lint and remove unused log

Diffstat:
Msrc/api/notifications.rs | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/api/notifications.rs b/src/api/notifications.rs @@ -258,7 +258,7 @@ fn create_ping() -> Vec<u8> { } #[allow(dead_code)] -#[derive(PartialEq)] +#[derive(Eq, PartialEq)] pub enum UpdateType { CipherUpdate = 0, CipherCreate = 1, @@ -349,8 +349,6 @@ async fn handle_connection(stream: TcpStream, users: WebSocketUsers, addr: Socke res = stream.next() => { match res { Some(Ok(message)) => { - //info!("RECEIVED {message:?}"); - // Respond to any pings if let Message::Ping(ping) = message { if stream.send(Message::Pong(ping)).await.is_err() {