diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-08-26 00:11:51 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-08-26 00:54:07 +0300 |
commit | 14663e46b9be8bbb86e36541b8cfb9c5efc341c2 (patch) | |
tree | 7961f7685c1a2e57b31b507b557a98d0ec4df338 /melib/src/email/parser.rs | |
parent | 421783915599111f4db4d2cf944d10c271004757 (diff) |
Remove some old TODO comments
Diffstat (limited to 'melib/src/email/parser.rs')
-rw-r--r-- | melib/src/email/parser.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/melib/src/email/parser.rs b/melib/src/email/parser.rs index a5862c93..7af3dd1b 100644 --- a/melib/src/email/parser.rs +++ b/melib/src/email/parser.rs @@ -1133,22 +1133,11 @@ pub mod encodings { } pub fn ascii_token(input: &[u8]) -> IResult<&[u8], Vec<u8>> { - // TODO take_until used to be take_until1, check if this works let (input, word) = alt(( terminated(take_until(" =?"), peek(preceded(tag(b" "), encoded_word))), take_while(|_| true), ))(input)?; Ok((input, word.to_vec())) - /* - do_parse!( - word: alt_complete!( - terminated!( - take_until1!(" =?"), - peek!(preceded!(tag!(b" "), call!(encoded_word))) - ) | take_while!(call!(|_| true)) - ) >> ({ word.into() }) - ) - */ } pub fn phrase( |