There was an error while loading. Please reload this page.
1 parent 69a247d commit d6f056fCopy full SHA for d6f056f
1 file changed
include/simdjson/implementation.h
@@ -17,7 +17,7 @@ namespace simdjson {
17
* @param len the length of the string in bytes.
18
* @return true if the string is valid UTF-8.
19
*/
20
-WARN_UNUSED bool validate_utf8(const char * buf, size_t length) noexcept;
+WARN_UNUSED bool validate_utf8(const char * buf, size_t len) noexcept;
21
22
23
/**
@@ -33,7 +33,7 @@ really_inline WARN_UNUSED bool validate_utf8(const std::string_view& p) noexcept
33
34
* Validate the UTF-8 string.
35
*
36
- * @param p the string_view to validate.
+ * @param p the string to validate.
37
38
39
really_inline WARN_UNUSED bool validate_utf8(const std::string& p) noexcept {
0 commit comments