From 9d089c27c77cb2797a0495b46477dfe348d09a91 Mon Sep 17 00:00:00 2001 From: Philipp Mildenberger Date: Mon, 20 Mar 2023 01:44:44 +0100 Subject: [PATCH] Fix docgen again --- xtask/src/docgen.rs | 4 ++-- 1 file 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 { } 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::>() .join(", "),