authorgravatar for andrea@orru.ioAndrea Orru <andrea@orru.io> 2018-03-20 11:40:33-04:00
committergravatar for andrea@orru.ioAndrea Orru <andrea@orru.io> 2018-03-20 11:40:33-04:00
log0082ed0ef1415d9c972348aae136b5684838c983
tree4c0a05f844f3186437c724b8877d00dc33dd7760
parent935f10502f9308b262c3d4b979a3fbe20baf670f

Public SplitIterator


2 files changed, 4 insertions(+), 4 deletions(-)

std/mem.zig+1-1
...@@ -354,7 +354,7 @@ pub fn startsWith(comptime T: type, haystack: []const T, needle: []const T) bool...@@ -354,7 +354,7 @@ pub fn startsWith(comptime T: type, haystack: []const T, needle: []const T) bool
354 return if (needle.len > haystack.len) false else eql(T, haystack[0 .. needle.len], needle);354 return if (needle.len > haystack.len) false else eql(T, haystack[0 .. needle.len], needle);
355}355}
356356
357const SplitIterator = struct {357pub const SplitIterator = struct {
358 buffer: []const u8,358 buffer: []const u8,
359 split_bytes: []const u8, 359 split_bytes: []const u8,
360 index: usize,360 index: usize,
std/os/zen.zig+3-3
...@@ -1,6 +1,6 @@...@@ -1,6 +1,6 @@
1///////////////////////////1//////////////////////////
2//// IPC structures ////2//// IPC structures ////
3///////////////////////////3//////////////////////////
44
5pub const Message = struct {5pub const Message = struct {
6 sender: MailboxId,6 sender: MailboxId,