3 ms·
> a pointer points to 1 address, not a set. Rust "fat pointers" like `&str` contain a length as well. > represents the set of memory a reference with that lif
by Georgelemental 3y ago
> a pointer points to 1 address, not a set.
Rust "fat pointers" like `&str` contain a length as well.
> represents the set of memory a reference with that lifetime can reference.
No, you can have memory that is alive for a particular lifetime but that you are not allowed to access via a pointer with said lifetime (because it's out of bounds).