Fixed internal links in spec.md

This commit is contained in:
Victor Koenders 2021-09-13 12:12:09 +02:00
parent 7cbca87d3e
commit a6435388a1
1 changed files with 2 additions and 2 deletions

View File

@ -100,11 +100,11 @@ assert_eq!(encoded.as_slice(), &[
]);
```
This also applies to e.g. `HashMap`, where each entry is a [tuple](#Basic%20types) of the key and value.
This also applies to e.g. `HashMap`, where each entry is a [tuple](#basic-types) of the key and value.
# String and &str
Both `String` and `&str` are treated as a `Vec<u8>`. See [Collections](#Collections) for more information.
Both `String` and `&str` are treated as a `Vec<u8>`. See [Collections](#collections) for more information.
```rs
let str = "Hello"; // Could also be `String::new(...)`