commit d480082cfec1d2312428784aba7a3d332434e99b parent 038037b0c83c3781fce3a184de3c148ad8cea1a4 Author: Drew DeVault <sir@cmpwn.com> Date: Mon, 1 Feb 2021 18:44:54 -0500 strings::iter: remove unnecessary doc comments This is probably just going to confuse people. Diffstat:
M | strings/iter.ha | | | 7 | ------- |
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/strings/iter.ha b/strings/iter.ha @@ -1,13 +1,6 @@ use encoding::utf8; // An iterator which yields each rune from a string. -// -// [iterator] is very similar to [encoding::utf8::decoder], and in fact is based -// on it. However, an invariant of Hare is that a 'str' type always contains a -// complete, valid UTF-8 string. [iterator] differs from -// [encoding::utf8::decoder] in that it assumes that the string is valid, and -// aborts the program otherwise. This reduces the number of error cases your -// code has to handle when you know you're only dealing with valid strings. export type iterator = utf8::decoder; // Initializes a string iterator.