mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
formatting
This commit is contained in:
parent
60b432b7e9
commit
651c586035
1 changed files with 1 additions and 4 deletions
|
@ -136,10 +136,7 @@ impl ops::Deref for CrateName {
|
||||||
#[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 a new issue