formatting

This commit is contained in:
Noah Santschi-Cooney 2022-09-26 18:35:06 +01:00
parent 60b432b7e9
commit 651c586035
No known key found for this signature in database
GPG Key ID: 3B22282472C8AE48

View File

@ -136,10 +136,7 @@ fn deref(&self) -> &str {
#[derive(Debug, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub enum CrateOrigin { pub enum CrateOrigin {
/// Crates that are from crates.io official registry, /// Crates that are from crates.io official registry,
CratesIo { CratesIo { repo: Option<String>, name: Option<String> },
repo: Option<String>,
name: Option<String>,
},
/// Crates that are provided by the language, like std, core, proc-macro, ... /// Crates that are provided by the language, like std, core, proc-macro, ...
Lang(LangCrateOrigin), Lang(LangCrateOrigin),
} }