We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82d71b1 commit 5109a8aCopy full SHA for 5109a8a
clippy_lints/src/missing_const_for_fn.rs
@@ -41,6 +41,7 @@ declare_clippy_lint! {
41
/// can't be const as it calls a non-const function. Making `a` const and running Clippy again,
42
/// will suggest to make `b` const, too.
43
///
44
+ /// If you are marking public function with const, doing opposite will break API compatibility.
45
/// ### Example
46
/// ```rust
47
/// # struct Foo {
0 commit comments