aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-06-06 08:27:06 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-06-06 08:27:06 +0100
commitb79e6294a68fd41f0a3dbd9eb907dfe99646d77e (patch)
tree1703602891988f9d54aec6e8ef2584f8a1b982b0 /crates/ra_mbe/src
parent354be0ae8a42b0dde549660c777661ab3c21b883 (diff)
parent44363cd5d264f9bd214a3d87ad847dedf15e38e8 (diff)
Merge #1379
1379: fix: clean up warnings r=matklad a=csmoe r? @matklad Co-authored-by: csmoe <[email protected]>
Diffstat (limited to 'crates/ra_mbe/src')
-rw-r--r--crates/ra_mbe/src/syntax_bridge.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_mbe/src/syntax_bridge.rs b/crates/ra_mbe/src/syntax_bridge.rs
index 9d3d2ad5b..cb039ca37 100644
--- a/crates/ra_mbe/src/syntax_bridge.rs
+++ b/crates/ra_mbe/src/syntax_bridge.rs
@@ -47,7 +47,7 @@ pub fn syntax_node_to_token_tree(node: &SyntaxNode) -> Option<(tt::Subtree, Toke
47 47
48fn token_tree_to_syntax_node<F>(tt: &tt::Subtree, f: F) -> Result<TreeArc<SyntaxNode>, ExpandError> 48fn token_tree_to_syntax_node<F>(tt: &tt::Subtree, f: F) -> Result<TreeArc<SyntaxNode>, ExpandError>
49where 49where
50 F: Fn(&mut ra_parser::TokenSource, &mut ra_parser::TreeSink), 50 F: Fn(&mut dyn ra_parser::TokenSource, &mut dyn ra_parser::TreeSink),
51{ 51{
52 let tokens = [tt.clone().into()]; 52 let tokens = [tt.clone().into()];
53 let buffer = TokenBuffer::new(&tokens); 53 let buffer = TokenBuffer::new(&tokens);