Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/base_db/src/input.rs')
| -rw-r--r-- | crates/base_db/src/input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/base_db/src/input.rs b/crates/base_db/src/input.rs index fc673f40f5..f182427e47 100644 --- a/crates/base_db/src/input.rs +++ b/crates/base_db/src/input.rs @@ -116,9 +116,9 @@ impl ops::Deref for CrateName { #[derive(Debug, Clone)] pub enum CrateOrigin { /// Crates that are from crates.io official registry, - CratesIo { name: String, version: String, repo: Option<String> }, + CratesIo { repo: Option<String> }, /// Crates that are provided by the language, like std, core, proc-macro, ... - Lang(String), + Lang, /// Crates that we don't know their origin. // Idealy this enum should cover all cases, and then we remove this variant. Unknown, |