We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0282ff8 commit 8716f20Copy full SHA for 8716f20
clippy_lints/src/ptr.rs
@@ -94,7 +94,7 @@ declare_clippy_lint! {
94
/// ```
95
pub CMP_NULL,
96
style,
97
- "comparing a pointer to a null pointer, suggesting to use `.is_null()` instead."
+ "comparing a pointer to a null pointer, suggesting to use `.is_null()` instead"
98
}
99
100
declare_clippy_lint! {
@@ -137,7 +137,7 @@ declare_clippy_lint! {
137
138
pub INVALID_NULL_PTR_USAGE,
139
correctness,
140
- "invalid usage of a null pointer, suggesting `NonNull::dangling()` instead."
+ "invalid usage of a null pointer, suggesting `NonNull::dangling()` instead"
141
142
143
declare_lint_pass!(Ptr => [PTR_ARG, CMP_NULL, MUT_FROM_REF, INVALID_NULL_PTR_USAGE]);
0 commit comments