Skip to content

Conversation

nicholasbishop
Copy link
Member

As of Rust 1.80, these functions are in the prelude so we don't need to import mem or fully specify the path.

Also replace one use of size_of with usize::BITS as suggested by clippy.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

As of Rust 1.80, these functions are in the prelude so we don't need to import
`mem` or fully specify the path.
@phip1611 phip1611 added this pull request to the merge queue Dec 15, 2024
Merged via the queue into rust-osdev:main with commit a96e82f Dec 15, 2024
15 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