tour_of_rust icon indicating copy to clipboard operation
tour_of_rust copied to clipboard

Confusing bit of text in Ch3

Open bugadani opened this issue 3 years ago • 0 comments

https://github.com/richardanaya/tour_of_rust/blob/84568bf70bba4b2702eb509867d828def86295c9/lessons/en/chapter_3.yaml#L86

I might be wrong here, but I think a String struct is stack-allocated, so the reference to the actual heap-allocated memory is itself stack allocated.

bugadani avatar Aug 11 '20 16:08 bugadani