aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/mbe_expander.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-08 11:37:05 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-08 11:37:05 +0000
commitb5fc999e7dafa8217d77088ae10bff96e767a3e9 (patch)
tree7fb47d6afa2eca87d2cd330e8e39af2ce3615dd5 /crates/ra_mbe/src/mbe_expander.rs
parent9a1d2a46c249fa81294c156b9e23b624e14495cd (diff)
parent884f04670aea239f06fe5b6ff7a9f2073034f8bc (diff)
Merge #765
765: Jettison `imp` module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
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/// ```