Skip to content

Commit 7829bf9

Browse files
committed
fixup
1 parent c01c161 commit 7829bf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

selectors/parser.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,12 +880,12 @@ impl<'i, Impl: SelectorImpl<'i>> Selector<'i, Impl> {
880880
/// Returns an iterator over the entire sequence of simple selectors and
881881
/// combinators, in matching order (from right to left).
882882
#[inline]
883-
pub fn iter_raw_match_order(&self) -> slice::Iter<Component<'i, Impl>> {
883+
pub fn iter_raw_match_order(&self) -> slice::Iter<'_, Component<'i, Impl>> {
884884
self.1.iter()
885885
}
886886

887887
#[inline]
888-
pub fn iter_mut_raw_match_order(&mut self) -> slice::IterMut<Component<'i, Impl>> {
888+
pub fn iter_mut_raw_match_order(&mut self) -> slice::IterMut<'_, Component<'i, Impl>> {
889889
self.1.iter_mut()
890890
}
891891

@@ -903,7 +903,7 @@ impl<'i, Impl: SelectorImpl<'i>> Selector<'i, Impl> {
903903
/// combinators, in parse order (from left to right), starting from
904904
/// `offset`.
905905
#[inline]
906-
pub fn iter_raw_parse_order_from(&self, offset: usize) -> Rev<slice::Iter<Component<'i, Impl>>> {
906+
pub fn iter_raw_parse_order_from(&self, offset: usize) -> Rev<slice::Iter<'_, Component<'i, Impl>>> {
907907
self.1[..self.len() - offset].iter().rev()
908908
}
909909

0 commit comments

Comments
 (0)