mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
formatting
This commit is contained in:
parent
60b432b7e9
commit
651c586035
@ -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…
x
Reference in New Issue
Block a user