Remove unused function
This commit is contained in:
parent
e7cf12b4a0
commit
a48a27a367
|
@ -20,7 +20,6 @@ pub mod command;
|
|||
pub mod imf;
|
||||
pub mod response;
|
||||
pub mod trace;
|
||||
pub mod utils;
|
||||
|
||||
pub fn base64(input: &[u8]) -> IResult<&[u8], &str> {
|
||||
let mut parser = map_res(
|
||||
|
|
|
@ -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()))
|
||||
}
|
Loading…
Reference in New Issue