Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Simplify timeout calculation in Poll::poll() #214

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

kenoss
Copy link
Contributor

@kenoss kenoss commented Nov 20, 2024

Refactor using Instant::saturating_duration_since() and Option::or().

src/sys.rs Outdated Show resolved Hide resolved
@kenoss kenoss requested a review from notgull November 21, 2024 16:07
@notgull notgull merged commit 5c90098 into Smithay:master Nov 21, 2024
12 checks passed
@kenoss kenoss deleted the refactor-timeout branch November 23, 2024 11:59
@notgull notgull mentioned this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants