File tree 1 file changed +2
-2
lines changed
clippy_lints/src/functions
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ declare_clippy_lint! {
56
56
57
57
declare_clippy_lint ! {
58
58
/// **What it does:** Checks for public functions that dereference raw pointer
59
- /// arguments but are not marked unsafe.
59
+ /// arguments but are not marked ` unsafe` .
60
60
///
61
61
/// **Why is this bad?** The function should probably be marked `unsafe`, since
62
62
/// for an arbitrary raw pointer, there is no way of telling for sure if it is
@@ -165,7 +165,7 @@ declare_clippy_lint! {
165
165
declare_clippy_lint ! {
166
166
/// **What it does:** Checks for public functions that return a `Result`
167
167
/// with an `Err` type of `()`. It suggests using a custom type that
168
- /// implements [ `std::error::Error`] .
168
+ /// implements `std::error::Error`.
169
169
///
170
170
/// **Why is this bad?** Unit does not implement `Error` and carries no
171
171
/// further information about what went wrong.
You can’t perform that action at this time.
0 commit comments