Skip to content

Commit

Permalink
utf8.c: Fix misleading comment
Browse files Browse the repository at this point in the history
The technique outlined here works regardless of the success or failure
of the function.  Remove the misleading word
  • Loading branch information
khwilliamson committed Oct 26, 2024
1 parent a8a74a8 commit b6cf02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utf8.c
Original file line number Diff line number Diff line change
Expand Up @@ -2744,7 +2744,7 @@ Returns a pointer to the newly-created string, and sets C<*lenp> to
reflect the new length in bytes. The caller is responsible for arranging for
the memory used by this string to get freed.
Upon successful return, the number of variants in the string can be computed by
Upon return, the number of variants in the string can be computed by
having saved the value of C<*lenp> before the call, and subtracting it from the
after-call value of C<*lenp>.
Expand Down

0 comments on commit b6cf02c

Please sign in to comment.