aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/mbe_expander.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_mbe/src/mbe_expander.rs')
-rw-r--r--crates/ra_mbe/src/mbe_expander.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_mbe/src/mbe_expander.rs b/crates/ra_mbe/src/mbe_expander.rs
index 04b5a4035..fb1066eec 100644
--- a/crates/ra_mbe/src/mbe_expander.rs
+++ b/crates/ra_mbe/src/mbe_expander.rs
@@ -28,7 +28,7 @@ fn expand_rule(rule: &crate::Rule, input: &tt::Subtree) -> Option<tt::Subtree> {
28/// 28///
29/// The tricky bit is dealing with repetitions (`$()*`). Consider this example: 29/// The tricky bit is dealing with repetitions (`$()*`). Consider this example:
30/// 30///
31/// ```ignore 31/// ```not_rust
32/// macro_rules! foo { 32/// macro_rules! foo {
33/// ($($ i:ident $($ e:expr),*);*) => { 33/// ($($ i:ident $($ e:expr),*);*) => {
34/// $(fn $ i() { $($ e);*; })* 34/// $(fn $ i() { $($ e);*; })*
@@ -46,7 +46,7 @@ fn expand_rule(rule: &crate::Rule, input: &tt::Subtree) -> Option<tt::Subtree> {
46/// 46///
47/// For the above example, the bindings would store 47/// For the above example, the bindings would store
48/// 48///
49/// ```ignore 49/// ```not_rust
50/// i -> [foo, bar] 50/// i -> [foo, bar]
51/// e -> [[1, 2, 3], [4, 5, 6]] 51/// e -> [[1, 2, 3], [4, 5, 6]]
52/// ``` 52/// ```