Skip to content

Commit

Permalink
Merge pull request #225 from schorsch1976/fix-doc
Browse files Browse the repository at this point in the history
Fix missing : in adhoc example
  • Loading branch information
mborland authored Sep 4, 2024
2 parents 37f1444 + 7964def commit 7650f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/charconv/basic_usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ assert(v == 42);
char buffer[64];
int v = 123456;
boost::charconv:to_chars_result r = boost::charconv::to_chars(buffer, buffer + sizeof(buffer), v);
boost::charconv::to_chars_result r = boost::charconv::to_chars(buffer, buffer + sizeof(buffer), v);
assert(r.ec == std::errc());
assert(!strncmp(buffer, "123456", 6)); // Strncmp returns 0 on match
Expand Down

0 comments on commit 7650f81

Please sign in to comment.