Correcting a couple of typographic errors.
This commit is contained in:
parent
939b6b854a
commit
5d2eca2363
|
@ -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;
|
||||
|
|
|
@ -22,7 +22,7 @@ simdjson_really_inline simdjson_result<field> field::start(const value_iterator
|
|||
}
|
||||
|
||||
simdjson_really_inline simdjson_warn_unused simdjson_result<std::string_view> 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<std::string_view> answer = first.unescape(second.iter.string_buf_loc());
|
||||
first.consume();
|
||||
return answer;
|
||||
|
|
Loading…
Reference in New Issue