Skip to content

mark more functions as const - #71

Open
DOCtorActoAntohich wants to merge 1 commit into
rust-osdev:mainfrom
DOCtorActoAntohich:constify-constructors
Open

DOCtorActoAntohich wants to merge 1 commit into
rust-osdev:mainfrom
DOCtorActoAntohich:constify-constructors

Conversation

@DOCtorActoAntohich

Copy link
Copy Markdown

i added a clippy lint and fixed its complaints

i don't see why those functions shouldn't be marked as const, so i suggest making them const fn

if some functions shouldn't be const, i suggest we can add a specific reason

closes #65

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.

Make VolatilePtr::new const

1 participant