From 1f7c268f41b4e5519fa5decd3acba85e86da38a0 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Fri, 14 Feb 2020 12:19:29 +0100 Subject: [PATCH] fix(interface-types) Remove a `dbg!` macro. --- src/decoders/binary.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoders/binary.rs b/src/decoders/binary.rs index 270fc13..fbe2e29 100644 --- a/src/decoders/binary.rs +++ b/src/decoders/binary.rs @@ -61,7 +61,7 @@ fn uleb<'input, E: ParseError<&'input [u8]>>(input: &'input [u8]) -> IResult<&'i return Err(Err::Error(make_error(input, ErrorKind::Eof))); } - let (output, bytes) = match dbg!(input.iter().position(|&byte| byte & 0x80 == 0)) { + let (output, bytes) = match input.iter().position(|&byte| byte & 0x80 == 0) { Some(length) if length <= 8 => (&input[length + 1..], &input[..=length]), Some(_) => return Err(Err::Error(make_error(input, ErrorKind::TooLarge))), None => return Err(Err::Error(make_error(input, ErrorKind::Eof))),