aboutsummaryrefslogtreecommitdiff
path: root/crates/base_db/src/input.rs
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-10-02 19:16:22 +0100
committerKirill Bulatov <[email protected]>2020-10-02 19:16:22 +0100
commit99952f3be254394a5c70ce8fb8436d76c779ed71 (patch)
tree1dd257a6e3813ff901a9ec70969640d58e90aee6 /crates/base_db/src/input.rs
parentcae2e859ffbf2b435c8675838e450b66d4c6153e (diff)
Fix the hover dash issues
Diffstat (limited to 'crates/base_db/src/input.rs')
-rw-r--r--crates/base_db/src/input.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/base_db/src/input.rs b/crates/base_db/src/input.rs
index 9a61f1d56..251a7b245 100644
--- a/crates/base_db/src/input.rs
+++ b/crates/base_db/src/input.rs
@@ -130,7 +130,7 @@ pub struct CrateData {
130 /// The name to display to the end user. 130 /// The name to display to the end user.
131 /// This actual crate name can be different in a particular dependent crate 131 /// This actual crate name can be different in a particular dependent crate
132 /// or may even be missing for some cases, such as a dummy crate for the code snippet. 132 /// or may even be missing for some cases, such as a dummy crate for the code snippet.
133 pub display_name: Option<String>, 133 pub display_name: Option<CrateName>,
134 pub cfg_options: CfgOptions, 134 pub cfg_options: CfgOptions,
135 pub env: Env, 135 pub env: Env,
136 pub dependencies: Vec<Dependency>, 136 pub dependencies: Vec<Dependency>,
@@ -159,7 +159,7 @@ impl CrateGraph {
159 &mut self, 159 &mut self,
160 file_id: FileId, 160 file_id: FileId,
161 edition: Edition, 161 edition: Edition,
162 display_name: Option<String>, 162 display_name: Option<CrateName>,
163 cfg_options: CfgOptions, 163 cfg_options: CfgOptions,
164 env: Env, 164 env: Env,
165 proc_macro: Vec<(SmolStr, Arc<dyn tt::TokenExpander>)>, 165 proc_macro: Vec<(SmolStr, Arc<dyn tt::TokenExpander>)>,