Fixed internal links in spec.md
This commit is contained in:
parent
7cbca87d3e
commit
a6435388a1
|
|
@ -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
|
# 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
|
```rs
|
||||||
let str = "Hello"; // Could also be `String::new(...)`
|
let str = "Hello"; // Could also be `String::new(...)`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue