authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-03-06 10:41:07-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-03-06 10:41:07-05:00
logc3807dfb34e3d0696517f3adf1f10ed096bd5fc3
treece768bcdefbd9f709a440b1a950d4e9682c7fdf9
parentd34d36619eae07d046d1bc20f849c2c398927992

remove value judgement from std lib API docs

documentation should be purely technical, and not contain opinions about how easy or hard something is.

1 files changed, 1 insertions(+), 1 deletions(-)

std/unicode.zig+1-1
...@@ -96,7 +96,7 @@ pub fn utf8ValidateSlice(s: []const u8) bool {...@@ -96,7 +96,7 @@ pub fn utf8ValidateSlice(s: []const u8) bool {
96 return true;96 return true;
97}97}
9898
99/// Utf8View makes it easy to iterate the code points of a utf-8 encoded string.99/// Utf8View iterates the code points of a utf-8 encoded string.
100///100///
101/// ```101/// ```
102/// var utf8 = (try std.unicode.Utf8View.init("hi there")).iterator();102/// var utf8 = (try std.unicode.Utf8View.init("hi there")).iterator();