Public SplitIterator

master
Andrea Orru 2018-03-20 11:40:33 -04:00
parent 935f10502f
commit 0082ed0ef1
2 changed files with 4 additions and 4 deletions

View File

@ -354,7 +354,7 @@ pub fn startsWith(comptime T: type, haystack: []const T, needle: []const T) bool
return if (needle.len > haystack.len) false else eql(T, haystack[0 .. needle.len], needle);
}
const SplitIterator = struct {
pub const SplitIterator = struct {
buffer: []const u8,
split_bytes: []const u8,
index: usize,

View File

@ -1,6 +1,6 @@
///////////////////////////
//// IPC structures ////
///////////////////////////
//////////////////////////
//// IPC structures ////
//////////////////////////
pub const Message = struct {
sender: MailboxId,