From cdfce10b28b158d2dcfeed289213eda1ad64f236 Mon Sep 17 00:00:00 2001 From: Ilya Biryukov Date: Wed, 7 Dec 2022 13:53:14 +0100 Subject: [PATCH] [clangd] Fix a typo in -ranking-model documentation. NFC --- clang-tools-extra/clangd/tool/ClangdMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/clangd/tool/ClangdMain.cpp b/clang-tools-extra/clangd/tool/ClangdMain.cpp index 3f5f53f..3975ae9 100644 --- a/clang-tools-extra/clangd/tool/ClangdMain.cpp +++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp @@ -210,7 +210,7 @@ opt RankingModel{ cat(Features), desc("Model to use to rank code-completion items"), values(clEnumValN(CodeCompleteOptions::Heuristics, "heuristics", - "Use hueristics to rank code completion items"), + "Use heuristics to rank code completion items"), clEnumValN(CodeCompleteOptions::DecisionForest, "decision_forest", "Use Decision Forest model to rank completion items")), init(CodeCompleteOptions().RankingModel), -- 2.7.4