From 8d6ecfeffec6156c065b1881e2a74a2774d63592 Mon Sep 17 00:00:00 2001 From: Andrea Orru Date: Sun, 28 May 2017 15:56:35 +0200 Subject: [PATCH] Updated comment. --- std/mem.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/mem.zig b/std/mem.zig index 83d41a3040..f56e0b192d 100644 --- a/std/mem.zig +++ b/std/mem.zig @@ -290,7 +290,7 @@ const SplitIterator = struct { /// Allocates memory for the result, which must be freed by the caller. pub fn join(allocator: &Allocator, sep: u8, strings: ...) -> %[]u8 { comptime assert(strings.len >= 1); - var total_strings_len: usize = strings.len; // 1 slash per string + var total_strings_len: usize = strings.len; // 1 sep per string { comptime var string_i = 0; inline while (string_i < strings.len) : (string_i += 1) {