rustdoc: Add `CrateName` newtype (#13056)

This PR adds a `CrateName` newtype used to represent crate names.

This makes the code a bit more self-descriptive and prevents confusing
other string values for a crate name.

It also changes the internal representation from a `String` to an
`Arc<str>` for cheaper clones.

Release Notes:

- N/A
44f66aa426Marshall Bowers committed on 6/14/2024, 4:21:03 PM· committed by GitHubparent3b84b10
5 files changedLine totals unavailable