Skip to content

Commit ba1f19e

Browse files
apply code review suggestion
Co-authored-by: llogiq <[email protected]>
1 parent 5109a8a commit ba1f19e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/missing_const_for_fn.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ declare_clippy_lint! {
4141
/// can't be const as it calls a non-const function. Making `a` const and running Clippy again,
4242
/// will suggest to make `b` const, too.
4343
///
44-
/// If you are marking public function with const, doing opposite will break API compatibility.
44+
/// If you are marking a public function with `const`, removing it again will break API compatibility.
4545
/// ### Example
4646
/// ```rust
4747
/// # struct Foo {

0 commit comments

Comments
 (0)