mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
fix typo
This commit is contained in:
parent
8fc51501e0
commit
a2fdb41ace
1 changed files with 2 additions and 2 deletions
|
@ -216,8 +216,8 @@ impl AnalysisImpl {
|
|||
.sweep(salsa::SweepStrategy::default().discard_values());
|
||||
Ok(query.search(&buf))
|
||||
}
|
||||
/// This return `Vec`: a module may be inclucded from several places.
|
||||
/// We don't handle this case yet though, so the Vec has length at most one.
|
||||
/// This return `Vec`: a module may be included from several places. We
|
||||
/// don't handle this case yet though, so the Vec has length at most one.
|
||||
pub fn parent_module(&self, position: FilePosition) -> Cancelable<Vec<(FileId, FileSymbol)>> {
|
||||
let descr = match ModuleDescriptor::guess_from_position(&*self.db, position)? {
|
||||
None => return Ok(Vec::new()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue