aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api_light/src/lib.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-21 13:13:45 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-21 13:13:45 +0000
commit5cacdfcb3c666161dc41f59228eaaca5cfe8fc27 (patch)
tree33fc9206a9ee2f2f1c64eeb85748bf5e9cd1c3f8 /crates/ra_ide_api_light/src/lib.rs
parent9be7426aae359d49ef272db74528a706e7f738a0 (diff)
parent7060a39d5c8dc2c72fe207536fee649ff615860f (diff)
Merge #872
872: simplify trait bounds r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api_light/src/lib.rs')
-rw-r--r--crates/ra_ide_api_light/src/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_ide_api_light/src/lib.rs b/crates/ra_ide_api_light/src/lib.rs
index 6d1ce8dbf..43cdd6ea4 100644
--- a/crates/ra_ide_api_light/src/lib.rs
+++ b/crates/ra_ide_api_light/src/lib.rs
@@ -123,10 +123,6 @@ pub fn highlight(root: &SyntaxNode) -> Vec<HighlightedRange> {
123 res 123 res
124} 124}
125 125
126pub fn syntax_tree(file: &SourceFile) -> String {
127 ::ra_syntax::utils::dump_tree(file.syntax())
128}
129
130#[cfg(test)] 126#[cfg(test)]
131mod tests { 127mod tests {
132 use ra_syntax::AstNode; 128 use ra_syntax::AstNode;