summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xtask/src/docgen.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/docgen.rs b/xtask/src/docgen.rs
index d360b4bd..034d9918 100644
--- a/xtask/src/docgen.rs
+++ b/xtask/src/docgen.rs
@@ -97,8 +97,8 @@ pub fn lang_features() -> Result<String, DynError> {
}
row.push(
lc.language_servers
- .keys()
- .filter_map(|ls| config.language_server.get(ls))
+ .iter()
+ .filter_map(|ls| config.language_server.get(&ls.name))
.map(|s| md_mono(&s.command.clone()))
.collect::<Vec<_>>()
.join(", "),