diff --git a/src/traits.rs b/src/traits.rs index a49f0c2f..953a747f 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -240,6 +240,7 @@ impl<'a> Input for &'a [u8] { } } + #[inline(always)] fn split_at_position
>(&self, predicate: P) -> IResult >(
&self,
predicate: P,
@@ -278,6 +280,7 @@ impl<'a> Input for &'a [u8] {
}
}
+ #[inline(always)]
fn split_at_position1_complete >(
&self,
predicate: P,
@@ -300,6 +303,7 @@ impl<'a> Input for &'a [u8] {
}
/// mode version of split_at_position
+ #[inline(always)]
fn split_at_position_mode >(&self, predicate: P) -> IResult >(
&self,
predicate: P,
@@ -435,6 +442,7 @@ impl<'a> Input for &'a str {
}
}
+ #[inline(always)]
fn split_at_position_complete >(
&self,
predicate: P,
@@ -455,6 +463,7 @@ impl<'a> Input for &'a str {
}
}
+ #[inline(always)]
fn split_at_position1_complete >(
&self,
predicate: P,
@@ -484,6 +493,7 @@ impl<'a> Input for &'a str {
}
/// mode version of split_at_position
+ #[inline(always)]
fn split_at_position_mode