From ca09821cbc9e11cb9888b9a8052fa1bd2b8ed3c8 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 12 Jan 2021 22:34:56 -0800 Subject: [PATCH] Remove debug log --- Cargo.toml | 2 +- src/connections/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7a88619..d83bedd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tapir-cwtch" -version = "0.1.3" +version = "0.1.4" authors = ["Sarah Jamie Lewis "] edition = "2018" license = "MIT" diff --git a/src/connections/mod.rs b/src/connections/mod.rs index 1dbdcbb..7b64d86 100644 --- a/src/connections/mod.rs +++ b/src/connections/mod.rs @@ -119,7 +119,7 @@ impl ConnectionInterface for Connection { Ok(()) => { // TODO why did I decide to use varints here?!?! let len = u16::decode_var(&msg[0..2]).unwrap().0 as usize; - println!("{} [{}]", len, String::from_utf8(msg[2..len + 2].to_vec()).unwrap()); + // println!("{} [{}]", len, String::from_utf8(msg[2..len + 2].to_vec()).unwrap()); return Ok(msg[2..len + 2].to_vec()); } }