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

Constify ztimer::from_duration #20

Closed
wants to merge 1 commit into from
Closed

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Oct 3, 2022

This has become trivially possible; no investigation was done into which Rust release that started at.

This has become trivially possible; no investigation was done into which
Rust release that started at.
@chrysn chrysn enabled auto-merge October 3, 2022 10:12
@chrysn chrysn disabled auto-merge October 3, 2022 10:18
@chrysn
Copy link
Member Author

chrysn commented Oct 3, 2022

Oups, that was only the commented-out version anyway -- and the original one still doesn't work as const. Abandoning; looks like the smoothest path to a non-clumsy implementation is waiting for rust-lang/rust#91930.

@chrysn chrysn closed this Oct 3, 2022
@chrysn chrysn deleted the const-ztimer-duration branch October 3, 2022 10:27
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.

1 participant