diff --git a/src/models/crates.rs b/src/models/crates.rs index 0d32dcc..96a647f 100644 --- a/src/models/crates.rs +++ b/src/models/crates.rs @@ -24,9 +24,9 @@ impl CratePath { #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct CrateName(String); -impl Into for CrateName { - fn into(self) -> String { - self.0 +impl From for String { + fn from(crate_name: CrateName) -> String { + crate_name.0 } }