Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- /* Internally, it works as this:
- let _slice = [1, 2, 3, 4, 5];
- let slice = &_slice; */
- let slice = &[1, 2, 3, 4, 5];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement