zed/crates/rustdoc
Marshall Bowers 44f66aa426
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
2024-06-14 12:21:03 -04:00
..
src rustdoc: Add CrateName newtype (#13056) 2024-06-14 12:21:03 -04:00
Cargo.toml rustdoc: Add CrateName newtype (#13056) 2024-06-14 12:21:03 -04:00
LICENSE-GPL Start on rustdoc crawler (#12942) 2024-06-12 15:21:50 -04:00