Skip to content

Instantly share code, notes, and snippets.

@mikdusan
Created March 23, 2020 20:19
Show Gist options
  • Save mikdusan/3549fe991d2055fc6d8cb30594506c76 to your computer and use it in GitHub Desktop.
Save mikdusan/3549fe991d2055fc6d8cb30594506c76 to your computer and use it in GitHub Desktop.
fn foo(list: []const u8) {
while (i < end) : (i += 1) {
var i: usize = 0,
const end: usize = 10,
std.debug.warn("[{}] = {}\n", .{i,list[i]});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment