Created
November 28, 2018 11:05
-
-
Save Hejsil/7869d640e2207bfc321e5a73c7753adc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn a(strings: [*]const [*]const u8, len: usize) void {} | |
test "" { | |
const b = [][*]const u8{c"a"}; | |
a(b[0..].ptr, b.len); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment