Remove unused function

This commit is contained in:
Dirkjan Ochtman 2022-11-21 14:52:45 -08:00
parent e7cf12b4a0
commit a48a27a367
2 changed files with 0 additions and 11 deletions

View File

@ -20,7 +20,6 @@ pub mod command;
pub mod imf; pub mod imf;
pub mod response; pub mod response;
pub mod trace; pub mod trace;
pub mod utils;
pub fn base64(input: &[u8]) -> IResult<&[u8], &str> { pub fn base64(input: &[u8]) -> IResult<&[u8], &str> {
let mut parser = map_res( let mut parser = map_res(

View File

@ -1,10 +0,0 @@
use nom::{
character::streaming::{line_ending, not_line_ending},
IResult,
};
pub fn single_line(input: &[u8]) -> IResult<&[u8], String> {
let (rem, (line, _)) = nom::sequence::tuple((not_line_ending, line_ending))(input)?;
Ok((rem, String::from_utf8(line.to_vec()).unwrap()))
}