[][src]Function gchemol_parser::parsers::take_s

pub fn take_s<'a>(n: usize) -> impl Fn(&'a str) -> IResult<&'a str, &'a str>

Return and consume n elements from input string slice.

Why not use take directly: for avoiding compiling error when using in do_parse macro.