pub fn space1<T>(input: T) -> IResult<T, T>
where
  T: InputTakeAtPosition,
  <T as InputTakeAtPosition>::Item: AsChar + Clone,
{
  input.split_at_position1(
    |item| {
      let c = item.clone().as_char();
      !(c == ' ' || c == '\t')
    },
    ErrorKind::Space,
  )
}
/// Recognizes one or more spaces and tabs
Recognizes one or more spaces and tabs
Recognizes one or more spaces and tabs
pub fn space1<T>(input: T) -> IResult<T, T>
where
  T: InputTakeAtPosition,
  <T as InputTakeAtPosition>::Item: AsChar + Clone,
{
  input.split_at_position1(
    |item| {
      let c = item.clone().as_char();
      !(c == ' ' || c == '\t')
    },
    ErrorKind::Space,
  )
}
pub fn space1 < T > ( input : T ) -> IResult < T , T > where T : InputTakeAtPosition , < T as InputTakeAtPosition > :: Item : AsChar + Clone , { input . split_at_position1 ( | item | { let c = item . clone ( ) . as_char ( ) ; ! ( c == ' ' || c == '\t' ) } , ErrorKind :: Space , ) }
Recognizes one or more spaces and tabs
Recognizes one or more spaces and tabs
input
T
input
T