]> git.lizzy.rs Git - rust.git/commitdiff
avoid 'ignored' in test output
authorAleksey Kladov <aleksey.kladov@gmail.com>
Fri, 8 Feb 2019 10:55:45 +0000 (13:55 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Fri, 8 Feb 2019 11:34:30 +0000 (14:34 +0300)
crates/ra_mbe/src/mbe_expander.rs

index 04b5a403529880f5d17df85bb8ea3d5f5bfec500..fb1066eec68092030828eb2f64ae64e6651495f7 100644 (file)
@@ -28,7 +28,7 @@ fn expand_rule(rule: &crate::Rule, input: &tt::Subtree) -> Option<tt::Subtree> {
 ///
 /// The tricky bit is dealing with repetitions (`$()*`). Consider this example:
 ///
-/// ```ignore
+/// ```not_rust
 /// macro_rules! foo {
 ///     ($($ i:ident $($ e:expr),*);*) => {
 ///         $(fn $ i() { $($ e);*; })*
@@ -46,7 +46,7 @@ fn expand_rule(rule: &crate::Rule, input: &tt::Subtree) -> Option<tt::Subtree> {
 ///
 /// For the above example, the bindings would store
 ///
-/// ```ignore
+/// ```not_rust
 /// i -> [foo, bar]
 /// e -> [[1, 2, 3], [4, 5, 6]]
 /// ```