Module winnow::prelude

source ·
Expand description

Core concepts available for glob import

Including

§Example

use winnow::prelude::*;

fn parse_data(input: &mut &str) -> PResult<u64> {
    // ...
}

fn main() {
  let result = parse_data.parse("100");
  assert_eq!(result, Ok(100));
}

Re-exports§