Function peruse::parsers::opt
[−]
[src]
pub fn opt<T: Parser>(t: T) -> OptionParser<T>
Create a parser that will return Some if the given parser is successful, None otherwise