diff --git a/clippy_lints/src/use_self.rs b/clippy_lints/src/use_self.rs index a8b7e8206814..b997d76d0e77 100644 --- a/clippy_lints/src/use_self.rs +++ b/clippy_lints/src/use_self.rs @@ -36,7 +36,7 @@ use crate::syntax_pos::symbol::keywords::SelfType; /// } /// ``` /// could be -/// ``` +/// ```rust /// struct Foo {} /// impl Foo { /// fn new() -> Self {