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 <matthias.krueger@famsik.de>
This commit is contained in:
commit
2362b3a312
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ use crate::syntax_pos::symbol::keywords::SelfType;
|
|||
/// }
|
||||
/// ```
|
||||
/// could be
|
||||
/// ```
|
||||
/// ```rust
|
||||
/// struct Foo {}
|
||||
/// impl Foo {
|
||||
/// fn new() -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue