Skip to content

Commit

Permalink
fix doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaTheFoxgirl committed Jul 21, 2024
1 parent 58b3a7e commit ca1d531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/numem/unicode/utf8.d
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ codepoint decode(const(char)[4] utf, ref size_t read) {


/**
Gets the expected byte-size of the specified character
Decodes the specified UTF-8 character
Returns 0 on malformed leading byte
Returns 0xFFFD if character is a malformed UTF-8 sequence
*/
codepoint decode(const(char)[4] utf) {
size_t throwaway;
Expand Down

0 comments on commit ca1d531

Please sign in to comment.