Skip to content

Commit d546f2c

Browse files
committed
Revert "Move borrow_as_ptr from pedantic to restriction"
This reverts commit 4a1728c.
1 parent 4a1728c commit d546f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/casts/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ declare_clippy_lint! {
588588
/// ```
589589
#[clippy::version = "1.60.0"]
590590
pub BORROW_AS_PTR,
591-
restriction,
591+
pedantic,
592592
"borrowing just to cast to a raw pointer"
593593
}
594594

0 commit comments

Comments
 (0)