diff options
author | Nico Weber <thakis@chromium.org> | 2021-09-30 20:11:27 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-01 01:18:52 +0100 |
commit | 6c9bc18a792d4ac22eaac91fe4ec2ed11ed7019e (patch) | |
tree | c850a8c69b04bcd578d811d6552f75c5287996f9 /Userland/DevTools/HackStudio | |
parent | 971d60c329cced524ea0e7efc88adb95f5cad64c (diff) | |
download | serenity-6c9bc18a792d4ac22eaac91fe4ec2ed11ed7019e.zip |
Userland: Fix typos
Diffstat (limited to 'Userland/DevTools/HackStudio')
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp b/Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp index 6bdf8bdbf9..90cebf4719 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp +++ b/Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp @@ -145,7 +145,7 @@ Vector<GUI::AutocompleteProvider::Entry> CppComprehensionEngine::autocomplete_na return false; if (symbol.is_local) { - // If this symbol was declared bellow us in a function, it's not available to us. + // If this symbol was declared below us in a function, it's not available to us. bool is_unavailable = symbol.is_local && symbol.declaration->start().line > node.start().line; if (is_unavailable) return false; @@ -500,7 +500,7 @@ RefPtr<Declaration> CppComprehensionEngine::find_declaration_of(const DocumentDa } if (match_variable || match_parameter) { - // If this symbol was declared bellow us in a function, it's not available to us. + // If this symbol was declared below us in a function, it's not available to us. bool is_unavailable = symbol.is_local && symbol.declaration->start().line > node.start().line; if (!is_unavailable && (symbol.name.name == target_decl->name)) { |