Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/lib.rs')
| -rw-r--r-- | crates/ide/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs index 80f9707f9a..7678ef5250 100644 --- a/crates/ide/src/lib.rs +++ b/crates/ide/src/lib.rs @@ -476,7 +476,7 @@ impl Analysis { position: FilePosition, target_dir: Option<&OsStr>, ) -> Cancellable<doc_links::DocumentationLinks> { - self.with_db(|db| doc_links::external_docs(db, &position, target_dir)) + self.with_db(|db| doc_links::external_docs(db, &position, target_dir).unwrap_or_default()) } /// Computes parameter information at the given position. |