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:
bors[bot] 2018-10-31 06:03:33 +00:00
commit 2362b3a312

View file

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