Skip to content

Commit 8ef5a6d

Browse files
committed
Address review comments: remove dot (also in CMP_NULL).
1 parent d76f8e5 commit 8ef5a6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/ptr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ declare_clippy_lint! {
9494
/// ```
9595
pub CMP_NULL,
9696
style,
97-
"comparing a pointer to a null pointer, suggesting to use `.is_null()` instead."
97+
"comparing a pointer to a null pointer, suggesting to use `.is_null()` instead"
9898
}
9999

100100
declare_clippy_lint! {
@@ -137,7 +137,7 @@ declare_clippy_lint! {
137137
/// ```
138138
pub INVALID_NULL_PTR_USAGE,
139139
correctness,
140-
"invalid usage of a null pointer, suggesting `NonNull::dangling()` instead."
140+
"invalid usage of a null pointer, suggesting `NonNull::dangling()` instead"
141141
}
142142

143143
declare_lint_pass!(Ptr => [PTR_ARG, CMP_NULL, MUT_FROM_REF, INVALID_NULL_PTR_USAGE]);

0 commit comments

Comments
 (0)