diff --git a/docs/spec.md b/docs/spec.md index d506eff..e1fb077 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -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`. See [Collections](#Collections) for more information. +Both `String` and `&str` are treated as a `Vec`. See [Collections](#collections) for more information. ```rs let str = "Hello"; // Could also be `String::new(...)`