formatting
This commit is contained in:
parent
60b432b7e9
commit
651c586035
@ -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),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user