Created
August 25, 2019 16:19
-
-
Save rust-play/2cf0ba6e920c01abdeb90bee0217ae04 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
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 main() { | |
let b: &'static [u8; 0] = b""; | |
let s: &[u8] = b.as_ref(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment