aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-11 13:59:04 +0100
committerGitHub <[email protected]>2020-07-11 13:59:04 +0100
commitc884ceb31c2761a9eb7de8754c4be4cc47469dee (patch)
tree8f3939d94416dca665f3b01a8f16989b6d9c9ac1
parent607d99fa8435523121c442c45653f0a430567c62 (diff)
parent19f891250647b9c08cf9d5f23433ec7380a85010 (diff)
Merge #5315
5315: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r--crates/ra_mbe/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_mbe/src/lib.rs b/crates/ra_mbe/src/lib.rs
index 9c450eaba..dec7ba22e 100644
--- a/crates/ra_mbe/src/lib.rs
+++ b/crates/ra_mbe/src/lib.rs
@@ -9,6 +9,9 @@ mod syntax_bridge;
9mod tt_iter; 9mod tt_iter;
10mod subtree_source; 10mod subtree_source;
11 11
12#[cfg(test)]
13mod tests;
14
12pub use tt::{Delimiter, Punct}; 15pub use tt::{Delimiter, Punct};
13 16
14use crate::{ 17use crate::{
@@ -273,6 +276,3 @@ impl<T: Default> From<Result<T, ExpandError>> for ExpandResult<T> {
273 .map_or_else(|e| ExpandResult(Default::default(), Some(e)), |it| ExpandResult(it, None)) 276 .map_or_else(|e| ExpandResult(Default::default(), Some(e)), |it| ExpandResult(it, None))
274 } 277 }
275} 278}
276
277#[cfg(test)]
278mod tests;