apply code review suggestion
Co-authored-by: llogiq <bogusandre@gmail.com>
This commit is contained in:
parent
5109a8a840
commit
ba1f19ee30
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ declare_clippy_lint! {
|
||||||
/// can't be const as it calls a non-const function. Making `a` const and running Clippy again,
|
/// 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.
|
/// will suggest to make `b` const, too.
|
||||||
///
|
///
|
||||||
/// If you are marking public function with const, doing opposite will break API compatibility.
|
/// If you are marking a public function with `const`, removing it again will break API compatibility.
|
||||||
/// ### Example
|
/// ### Example
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// # struct Foo {
|
/// # struct Foo {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue