all: Fix typos identified by typos pre-commit hook

This commit is contained in:
Arne Welzel 2023-06-13 13:25:44 +02:00
parent 260c868f26
commit 7a043e5e8f
57 changed files with 80 additions and 80 deletions

View file

@ -1375,7 +1375,7 @@ static std::variant<ValPtr, std::string> BuildVal(const rapidjson::Value& j, con
}
default:
return util::fmt("type '%s' unsupport", type_name(t->Tag()));
return util::fmt("type '%s' unsupported", type_name(t->Tag()));
}
}
@ -2425,7 +2425,7 @@ void TableVal::SendToStore(const Val* index, const TableEntryVal* new_entry_val,
{
if ( attrs->Find(detail::ATTR_EXPIRE_CREATE) )
{
// for create expiry, we have to substract the already elapsed time from
// for create expiry, we have to subtract the already elapsed time from
// the expiry.
auto e = expire_time -
(run_state::network_time - new_entry_val->ExpireAccessTime());
@ -2720,7 +2720,7 @@ void TableVal::Describe(ODesc* d) const
void TableVal::InitDefaultFunc(detail::Frame* f)
{
// Value aready initialized.
// Value already initialized.
if ( def_val )
return;