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 @@ impl ops::Deref for CrateName {
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub enum CrateOrigin {
/// Crates that are from crates.io official registry,
CratesIo {
repo: Option<String>,
name: Option<String>,
},
CratesIo { repo: Option<String>, name: Option<String> },
/// Crates that are provided by the language, like std, core, proc-macro, ...
Lang(LangCrateOrigin),
}