// This makes an array
let a = [1, 2, 3, 4, 5];
// This makes a slice, notice the space around the ..
let nice_slice = &a[1 .. 4];
November 13, 2019 ~ 1 min read
// This makes an array
let a = [1, 2, 3, 4, 5];
// This makes a slice, notice the space around the ..
let nice_slice = &a[1 .. 4];
Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on distributed systems.