Closed
Description
Location
https://doc.rust-lang.org/nightly/std/string/struct.String.html
Summary
Next, what should s[i] return? Because indexing returns a reference to underlying data it could be &u8, &[u8], or something else similar.
It should be (bold is only so you can compare quickly)
Next, what should s[i] return? Because indexing returns a reference to underlying data it could be &u8, &[u8], or something similar.