We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9993cb commit 6178ddaCopy full SHA for 6178dda
clippy_lints/src/functions/mod.rs
@@ -270,6 +270,7 @@ declare_clippy_lint! {
270
/// It is most likely that such a method is a bug caused by a typo or by copy-pasting.
271
///
272
/// ### Example
273
+
274
/// ```rust
275
/// struct A {
276
/// a: String,
@@ -281,7 +282,7 @@ declare_clippy_lint! {
281
282
/// &self.b
283
/// }
284
- /// // example code where clippy issues a warning
285
286
/// ```
287
/// Use instead:
288
@@ -296,7 +297,7 @@ declare_clippy_lint! {
296
297
298
299
- #[clippy::version = "1.66.0"]
300
+ #[clippy::version = "1.67.0"]
301
pub MISNAMED_GETTERS,
302
suspicious,
303
"getter method returning the wrong field"
0 commit comments