DEV Community

Discussion on: Slices in Rust

Collapse
 
lexlohr profile image
Alex Lohr

I'm missing the ability to define the end of the slice as inclusive in this otherwise very good description, e.g. like s[1..=3].

Collapse
 
francescoxx profile image
Francesco Ciulla

you are right, thanks for pointing it out!