Skip to content

Commit 2362b3a

Browse files
Merge #3386
3386: docs: use_self: hightlight the "should be" code sample as rust code as well. r=phansch a=matthiaskrgr Co-authored-by: Matthias Krüger <[email protected]>
2 parents e695015 + 650eb09 commit 2362b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/use_self.rs

+1-1
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)