diff --git a/include/simdjson/dom/serialization.h b/include/simdjson/dom/serialization.h index 84eaf7d2..8c18c66d 100644 --- a/include/simdjson/dom/serialization.h +++ b/include/simdjson/dom/serialization.h @@ -92,7 +92,7 @@ public: /** Clears out the content. **/ simdjson_really_inline void clear(); /** - * Get access to the buffer, it is own by the instance, but + * Get access to the buffer, it is owned by the instance, but * the user can make a copy. **/ simdjson_really_inline std::string_view str() const; diff --git a/include/simdjson/generic/ondemand/field-inl.h b/include/simdjson/generic/ondemand/field-inl.h index 6bddcce6..444ea012 100644 --- a/include/simdjson/generic/ondemand/field-inl.h +++ b/include/simdjson/generic/ondemand/field-inl.h @@ -22,7 +22,7 @@ simdjson_really_inline simdjson_result field::start(const value_iterator } simdjson_really_inline simdjson_warn_unused simdjson_result field::unescaped_key() noexcept { - SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us. + SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() but Visual Studio won't let us. simdjson_result answer = first.unescape(second.iter.string_buf_loc()); first.consume(); return answer;