The links to as_ptr and chars on the collection crates page of String are broken.
This is because they refer to methods of str but link to the same page (String), relying on the Methods from Deref<Target=str> section which is missing for some reason (seems to apply to the entire collections crate).