Skip to content

Fix the ptr_as_ptr lint#4091

Merged
seanmonstar merged 1 commit into
hyperium:masterfrom
nakaryo716:lint-ptr-as-ptr
May 31, 2026
Merged

Fix the ptr_as_ptr lint#4091
seanmonstar merged 1 commit into
hyperium:masterfrom
nakaryo716:lint-ptr-as-ptr

Conversation

@nakaryo716
Copy link
Copy Markdown
Contributor

Removing clippy::ptr_as_ptr lint.
Replacing raw pointer casting via as with .cast().

Related Issue

Fixes #4071


This is my first PR to an open-source project!
I hope everything is correct, but if there are any mistakes or things I should improve, please let me know.
Any feedback would be greatly appreciated! 🙏

@nakaryo716 nakaryo716 marked this pull request as ready for review May 31, 2026 05:28
Copy link
Copy Markdown
Member

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

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

Nice work, thank you!

@seanmonstar seanmonstar merged commit 95845ec into hyperium:master May 31, 2026
23 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.

Add a strict clippy config

2 participants