diff options
-rw-r--r-- | crates/ra_ide_db/src/symbol_index.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_ide_db/src/symbol_index.rs b/crates/ra_ide_db/src/symbol_index.rs index acc31fe3b..299b47c6a 100644 --- a/crates/ra_ide_db/src/symbol_index.rs +++ b/crates/ra_ide_db/src/symbol_index.rs | |||
@@ -132,6 +132,8 @@ fn file_symbols(db: &impl SymbolsDatabase, file_id: FileId) -> Arc<SymbolIndex> | |||
132 | // | VS Code | kbd:[Ctrl+T] | 132 | // | VS Code | kbd:[Ctrl+T] |
133 | // |=== | 133 | // |=== |
134 | pub fn world_symbols(db: &RootDatabase, query: Query) -> Vec<FileSymbol> { | 134 | pub fn world_symbols(db: &RootDatabase, query: Query) -> Vec<FileSymbol> { |
135 | let _p = ra_prof::profile("world_symbols").detail(|| query.query.clone()); | ||
136 | |||
135 | /// Need to wrap Snapshot to provide `Clone` impl for `map_with` | 137 | /// Need to wrap Snapshot to provide `Clone` impl for `map_with` |
136 | struct Snap(salsa::Snapshot<RootDatabase>); | 138 | struct Snap(salsa::Snapshot<RootDatabase>); |
137 | impl Clone for Snap { | 139 | impl Clone for Snap { |