Auto merge of #10618 - KisaragiEffective:patch-2, r=llogiq
[missing_const_for_fn] fix #7121 *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: [`missing_const_for_fn`] note about removing const may break compatibility fix #7121
This commit is contained in:
commit
015fb8a9e3
@ -41,6 +41,7 @@
|
||||
/// can't be const as it calls a non-const function. Making `a` const and running Clippy again,
|
||||
/// will suggest to make `b` const, too.
|
||||
///
|
||||
/// If you are marking a public function with `const`, removing it again will break API compatibility.
|
||||
/// ### Example
|
||||
/// ```rust
|
||||
/// # struct Foo {
|
||||
|
Loading…
Reference in New Issue
Block a user