docs: use_self: hightlight the "should be" code sample as rust code as well.
This commit is contained in:
parent
481f7880df
commit
650eb09981
@ -36,7 +36,7 @@ use crate::syntax_pos::symbol::keywords::SelfType;
|
||||
/// }
|
||||
/// ```
|
||||
/// could be
|
||||
/// ```
|
||||
/// ```rust
|
||||
/// struct Foo {}
|
||||
/// impl Foo {
|
||||
/// fn new() -> Self {
|
||||
|
Loading…
Reference in New Issue
Block a user