Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/docgen.rs')
| -rw-r--r-- | xtask/src/docgen.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xtask/src/docgen.rs b/xtask/src/docgen.rs index 034d9918..5f0ae5d5 100644 --- a/xtask/src/docgen.rs +++ b/xtask/src/docgen.rs @@ -67,7 +67,7 @@ pub fn lang_features() -> Result<String, DynError> { let mut langs = config .language .iter() - .map(|l| l.language_id.clone()) + .map(|l| l.language_name.clone()) .collect::<Vec<_>>(); langs.sort_unstable(); @@ -81,9 +81,9 @@ pub fn lang_features() -> Result<String, DynError> { let lc = config .language .iter() - .find(|l| l.language_id == lang) + .find(|l| l.language_name == lang) .unwrap(); // lang comes from config - row.push(lc.language_id.clone()); + row.push(lc.language_name.clone()); for (_feat, support_list) in &ts_features_to_langs { row.push( |