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

clippy: ptr_as_ptr #2

Merged
merged 1 commit into from Aug 28, 2021
Merged

Conversation

wcampbell0x2a
Copy link
Contributor

Motivation

Change casts that don't change mut to .cast<T>().

Change casts that don't change mut to `.cast<T>()`.

See: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_as_ptr

Signed-off-by: wcampbell <wcampbell1995@gmail.com>
@bastibl bastibl merged commit 2326751 into FutureSDR:master Aug 28, 2021
@bastibl
Copy link
Member

bastibl commented Aug 28, 2021

Great, thank you very much! I really need to look into clippy and extend CI to run these checks.

@wcampbell0x2a wcampbell0x2a deleted the clippy-ptr-as-ptr branch August 28, 2021 11: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.

None yet

2 participants