upgrade winit

This commit is contained in:
2025-11-04 23:32:55 -06:00
parent 98c95b55f4
commit eca9c3236d
7 changed files with 1650 additions and 660 deletions
+2 -2
View File
@@ -59,11 +59,11 @@ impl<'a> PairExt for Pair<'a> {
pub trait PairsExt {
/// Peek the next sibling but only if it matches a given rule: used for things
/// with optional modifiers following
fn next_if_rule(&mut self, rule: PestRule) -> Option<Pair>;
fn next_if_rule(&mut self, rule: PestRule) -> Option<Pair<'_>>;
}
impl PairsExt for Peekable<Pairs<'_>> {
fn next_if_rule(&mut self, rule: PestRule) -> Option<Pair> {
fn next_if_rule(&mut self, rule: PestRule) -> Option<Pair<'_>> {
self.next_if(|p| p.as_rule() == rule)
}
}