Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lrlex/src/lib/ctbuilder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ where
regex_options: RegexOptions,
}

impl<'a> CTLexerBuilder<'a, DefaultLexerTypes<u32>> {
impl CTLexerBuilder<'_, DefaultLexerTypes<u32>> {
/// Create a new [CTLexerBuilder].
pub fn new() -> Self {
CTLexerBuilder::<DefaultLexerTypes<u32>>::new_with_lexemet()
Expand Down
2 changes: 1 addition & 1 deletion lrpar/src/lib/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ pub(crate) mod test {
s: &'input str,
}

impl<'input> Lexer<TestLexerTypes> for SmallLexer<'input> {
impl Lexer<TestLexerTypes> for SmallLexer<'_> {
fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = Result<TestLexeme, TestLexError>> + 'a> {
Box::new(self.lexemes.iter().map(|x| Ok(*x)))
}
Expand Down
4 changes: 2 additions & 2 deletions lrtable/src/lib/statetable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ pub struct StateActionsIterator<'a, StorageT> {
phantom: PhantomData<StorageT>,
}

impl<'a, StorageT: 'static + PrimInt + Unsigned> Iterator for StateActionsIterator<'a, StorageT>
impl<StorageT: 'static + PrimInt + Unsigned> Iterator for StateActionsIterator<'_, StorageT>
where
usize: AsPrimitive<StorageT>,
{
Expand All @@ -522,7 +522,7 @@ pub struct CoreReducesIterator<'a, StorageT> {
phantom: PhantomData<StorageT>,
}

impl<'a, StorageT: 'static + PrimInt + Unsigned> Iterator for CoreReducesIterator<'a, StorageT>
impl<StorageT: 'static + PrimInt + Unsigned> Iterator for CoreReducesIterator<'_, StorageT>
where
usize: AsPrimitive<StorageT>,
{
Expand Down
Loading