Fix grammar in highlight error message

This commit is contained in:
Alyssa Ross 2018-06-01 13:02:38 +02:00 committed by GitHub
parent 57b71f0750
commit 7685a657ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,22 +31,22 @@ bool Highlighter::has_children() const
Highlighter& Highlighter::get_child(StringView path) Highlighter& Highlighter::get_child(StringView path)
{ {
throw runtime_error("this highlighter do not hold children"); throw runtime_error("this highlighter does not hold children");
} }
void Highlighter::add_child(HighlighterAndId&& hl) void Highlighter::add_child(HighlighterAndId&& hl)
{ {
throw runtime_error("this highlighter do not hold children"); throw runtime_error("this highlighter does not hold children");
} }
void Highlighter::remove_child(StringView id) void Highlighter::remove_child(StringView id)
{ {
throw runtime_error("this highlighter do not hold children"); throw runtime_error("this highlighter does not hold children");
} }
Completions Highlighter::complete_child(StringView path, ByteCount cursor_pos, bool group) const Completions Highlighter::complete_child(StringView path, ByteCount cursor_pos, bool group) const
{ {
throw runtime_error("this highlighter do not hold children"); throw runtime_error("this highlighter does not hold children");
} }
void Highlighter::fill_unique_ids(Vector<StringView>& unique_ids) const void Highlighter::fill_unique_ids(Vector<StringView>& unique_ids) const