Skip to content

Commit 650eb09

Browse files
committed
docs: use_self: hightlight the "should be" code sample as rust code as well.
1 parent 481f788 commit 650eb09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/use_self.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use crate::syntax_pos::symbol::keywords::SelfType;
3636
/// }
3737
/// ```
3838
/// could be
39-
/// ```
39+
/// ```rust
4040
/// struct Foo {}
4141
/// impl Foo {
4242
/// fn new() -> Self {

0 commit comments

Comments
 (0)