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

Use named constants to clarify delay-stepdown behavior #542

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

jamesmunns
Copy link
Member

Add some named constants to clarify behavior/intent, which confused at least one person already.

The compiler almost certainly should be able to optimize away N / M * M, but if we'd like to be extra sure, I can add another const.

@jamesmunns jamesmunns requested a review from a team as a code owner November 30, 2023 13:08
Copy link
Member

@Dirbaio Dirbaio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@Dirbaio Dirbaio added this pull request to the merge queue Nov 30, 2023
Merged via the queue into rust-embedded:master with commit f7f3c11 Nov 30, 2023
12 checks passed
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