Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Cleanup: avoid hiding lifetime that's elided elsewhere
avoids using mixed syntax for lifetimes, per clippy's #[warn(mismatched_lifetime_syntaxes)]
  • Loading branch information
wintersys committed Aug 15, 2025
commit 38e659fd9089e8a7c4a959e639ebe002bd724ac8
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ impl Window {
result
}

pub fn iter_pixels(&self) -> WindowIter {
pub fn iter_pixels(&'_ self) -> WindowIter<'_> {
WindowIter {
window: self,
current_index: 0,
Expand Down
Loading