1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00

Userland: Fix typos

This commit is contained in:
Nico Weber 2021-09-30 20:11:27 -04:00 committed by Linus Groh
parent 971d60c329
commit 6c9bc18a79
6 changed files with 17 additions and 17 deletions

View file

@ -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)) {