Skip to content

Commit d6f056f

Browse files
author
Daniel Lemire
committed
Fixing documentation issues.
1 parent 69a247d commit d6f056f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/simdjson/implementation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace simdjson {
1717
* @param len the length of the string in bytes.
1818
* @return true if the string is valid UTF-8.
1919
*/
20-
WARN_UNUSED bool validate_utf8(const char * buf, size_t length) noexcept;
20+
WARN_UNUSED bool validate_utf8(const char * buf, size_t len) noexcept;
2121

2222

2323
/**
@@ -33,7 +33,7 @@ really_inline WARN_UNUSED bool validate_utf8(const std::string_view& p) noexcept
3333
/**
3434
* Validate the UTF-8 string.
3535
*
36-
* @param p the string_view to validate.
36+
* @param p the string to validate.
3737
* @return true if the string is valid UTF-8.
3838
*/
3939
really_inline WARN_UNUSED bool validate_utf8(const std::string& p) noexcept {

0 commit comments

Comments
 (0)