mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Merge #5315
5315: Minor r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
c884ceb31c
1 changed files with 3 additions and 3 deletions
|
@ -9,6 +9,9 @@ mod syntax_bridge;
|
||||||
mod tt_iter;
|
mod tt_iter;
|
||||||
mod subtree_source;
|
mod subtree_source;
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod tests;
|
||||||
|
|
||||||
pub use tt::{Delimiter, Punct};
|
pub use tt::{Delimiter, Punct};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
@ -273,6 +276,3 @@ impl<T: Default> From<Result<T, ExpandError>> for ExpandResult<T> {
|
||||||
.map_or_else(|e| ExpandResult(Default::default(), Some(e)), |it| ExpandResult(it, None))
|
.map_or_else(|e| ExpandResult(Default::default(), Some(e)), |it| ExpandResult(it, None))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
mod tests;
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue