aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2019-12-01 04:14:12 +0000
committerEdwin Cheng <[email protected]>2019-12-01 04:14:12 +0000
commit5f1111773301a084ec8d0b6a2c81be5a756241ab (patch)
tree7d4ea9be233794ccec40a42090853223b2b708a2
parentbb601e7eafa00e471a5306ac920f0be6c809aab0 (diff)
Fix comment
-rw-r--r--crates/ra_hir_def/src/nameres.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/nameres.rs b/crates/ra_hir_def/src/nameres.rs
index 9aaf7736b..3e1521870 100644
--- a/crates/ra_hir_def/src/nameres.rs
+++ b/crates/ra_hir_def/src/nameres.rs
@@ -149,8 +149,7 @@ static BUILTIN_SCOPE: Lazy<FxHashMap<Name, Resolution>> = Lazy::new(|| {
149 .collect() 149 .collect()
150}); 150});
151 151
152/// Shadow mode for builtin type 152/// Shadow mode for builtin type which can be shadowed by module.
153/// Builtin type can be shadowed by same name mode
154#[derive(Debug, Copy, Clone, PartialEq, Eq)] 153#[derive(Debug, Copy, Clone, PartialEq, Eq)]
155pub enum BuiltinShadowMode { 154pub enum BuiltinShadowMode {
156 // Prefer Module 155 // Prefer Module