Prepare for merging into Organic.
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
use std::ops::RangeBounds;
|
||||
|
||||
use nom::{bytes::complete::tag, Compare, InputTake, Slice};
|
||||
|
||||
fn main() {
|
||||
let input = "this is my test input".to_owned();
|
||||
let wrapped_input = WrappedInput::new(input.as_str());
|
||||
|
||||
let output = tag::<_, _, (_, nom::error::ErrorKind)>("this")(wrapped_input).unwrap();
|
||||
|
||||
println!("{:#?}", output);
|
||||
}
|
||||
use nom::{Compare, InputTake, Slice};
|
||||
|
||||
#[derive(Debug)]
|
||||
struct WrappedInput<'s> {
|
||||
Reference in New Issue
Block a user