Skip to content

Commit

Permalink
Enable clippy ref_as_ptr lint (#2642)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rua authored Feb 7, 2025
1 parent ce3b0d6 commit 2b91004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ clippy.missing_safety_doc = "allow" # TODO: warn e
clippy.multiple_unsafe_ops_per_block = "warn"
clippy.ptr_as_ptr = "warn"
clippy.ptr_cast_constness = "warn"
# clippy.ref_as_ptr = "warn" # TODO: enable once it's stable
clippy.ref_as_ptr = "warn"
clippy.trivially_copy_pass_by_ref = "warn"
# These lints are a bit too pedantic, so they're disabled here.
# They can be removed if they no longer happen in the future.
Expand Down

0 comments on commit 2b91004

Please sign in to comment.