Function tidy::deps::pkg_from_name
source · fn pkg_from_name<'a>(metadata: &'a Metadata, name: &'static str) -> &'a Package
Expand description
Finds a package with the given name.
fn pkg_from_name<'a>(metadata: &'a Metadata, name: &'static str) -> &'a Package
Finds a package with the given name.