Fix broken links (#47)

This commit is contained in:
Sympatron GmbH
2024-05-24 12:57:57 +02:00
committed by GitHub
parent eb0b4f75f0
commit 7a4fa2d1f4
8 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ From our previous [discussion on memory layouts](../03_ticket_v1/10_references_i
it would have been reasonable to expect `&str` to be represented as a single `usize` on
the stack, a pointer. That's not the case though. `&str` stores some **metadata** next
to the pointer: the length of the slice it points to. Going back to the example from
[a previous section](05_str_slice.md):
[a previous section](06_str_slice):
```rust
let mut s = String::with_capacity(5);