remove value judgement from std lib API docs
documentation should be purely technical, and not contain opinions about how easy or hard something is.
This commit is contained in:
parent
d34d36619e
commit
c3807dfb34
@ -96,7 +96,7 @@ pub fn utf8ValidateSlice(s: []const u8) bool {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Utf8View makes it easy to iterate the code points of a utf-8 encoded string.
|
/// Utf8View iterates the code points of a utf-8 encoded string.
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// var utf8 = (try std.unicode.Utf8View.init("hi there")).iterator();
|
/// var utf8 = (try std.unicode.Utf8View.init("hi there")).iterator();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user