Skip to content

Commit

Permalink
back to old "Notes:"
Browse files Browse the repository at this point in the history
  • Loading branch information
aG0aep6G committed Nov 11, 2014
1 parent b8fc22a commit 5025e47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/utf.d
Expand Up @@ -149,8 +149,7 @@ unittest
$(D stride) will only analyze the first $(D str[index]) element. It
will not fully verify the validity of UTF-8 sequence, nor even verify
the presence of the sequence: it will not actually guarantee that
$(D index + stride(str, index) <= str.length). It will also not
guarantee that the first element is a valid UTF-8 code unit.
$(D index + stride(str, index) <= str.length).
+/
uint stride(S)(auto ref S str, size_t index)
if (is(S : const char[]) ||
Expand Down

0 comments on commit 5025e47

Please sign in to comment.