Use Rust 1.76 (#9897)

This commit is contained in:
Micha Reiser 2024-02-08 19:20:08 +01:00 committed by GitHub
parent eb2784c495
commit 688177ff6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 24 additions and 25 deletions

View file

@ -21,8 +21,7 @@ impl<'a> LineSuffixes<'a> {
/// Takes all the pending line suffixes.
pub(super) fn take_pending<'l>(
&'l mut self,
) -> impl Iterator<Item = LineSuffixEntry<'a>> + DoubleEndedIterator + 'l + ExactSizeIterator
{
) -> impl DoubleEndedIterator<Item = LineSuffixEntry<'a>> + 'l + ExactSizeIterator {
self.suffixes.drain(..)
}