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.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs
index 7678ef5250..1af4d39265 100644
--- a/crates/ide/src/lib.rs
+++ b/crates/ide/src/lib.rs
@@ -475,8 +475,11 @@ impl Analysis {
&self,
position: FilePosition,
target_dir: Option<&OsStr>,
+ sysroot: Option<&OsStr>,
) -> Cancellable<doc_links::DocumentationLinks> {
- self.with_db(|db| doc_links::external_docs(db, &position, target_dir).unwrap_or_default())
+ self.with_db(|db| {
+ doc_links::external_docs(db, &position, target_dir, sysroot).unwrap_or_default()
+ })
}
/// Computes parameter information at the given position.