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

chore: remove const_spinlock function #20

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

mkroening
Copy link
Member

lock_api::Mutex::new is const nowadays.

`lock_api::Mutex::new` is `const` nowadays.

Signed-off-by: Martin Kröning <[email protected]>
Copy link
Member

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

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

Thanks!

(Note to self: This is a breaking change, so the next release should bump the minor version.)

@phil-opp phil-opp merged commit 0c693a6 into rust-osdev:master Oct 17, 2023
4 checks passed
@mkroening mkroening deleted the rm-const_new branch October 17, 2023 08:55
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