Skip to content

Conversation

nicholasbishop
Copy link
Member

as conversions are a bit of a blunt hammer, so where possible it's
nice to use a more restricted operation.

Lint is described here: https://rust-lang.github.io/rust-clippy/master/#ptr_as_ptr

It would be great to eventually get rid of most as conversions, but baby steps :)

`as` conversions are a bit of a blunt hammer, so where possible it's
nice to use a more restricted operation.

Lint is described here: https://rust-lang.github.io/rust-clippy/master/#ptr_as_ptr
@nicholasbishop nicholasbishop merged commit fad5925 into rust-osdev:main Apr 24, 2022
@nicholasbishop nicholasbishop deleted the bishop-less-as branch April 24, 2022 17:13
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