docs: use_self: hightlight the "should be" code sample as rust code as well.

This commit is contained in:
Matthias Krüger 2018-10-31 01:42:17 +01:00
parent 481f7880df
commit 650eb09981

View File

@ -36,7 +36,7 @@ use crate::syntax_pos::symbol::keywords::SelfType;
/// }
/// ```
/// could be
/// ```
/// ```rust
/// struct Foo {}
/// impl Foo {
/// fn new() -> Self {