I am learning the Brown Rust book, and found this analysis of the heap:
But I am confused, should this String be a pointer to the real data somewhere else in the heap? Here I get a picture of what I think about the heap:
Could someone help me analyze this case; who is correct?
3