Skip to content

Commit 4053767

Browse files
authored
Inline From conversion for BasicParseError.
1 parent c048003 commit 4053767

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/parser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ pub enum BasicParseError<'a> {
5656
}
5757

5858
impl<'a, T> From<BasicParseError<'a>> for ParseError<'a, T> {
59+
#[inline]
5960
fn from(this: BasicParseError<'a>) -> ParseError<'a, T> {
6061
ParseError::Basic(this)
6162
}

0 commit comments

Comments
 (0)