aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_def')
-rw-r--r--crates/ra_hir_def/Cargo.toml3
-rw-r--r--crates/ra_hir_def/src/nameres/collector.rs2
2 files changed, 4 insertions, 1 deletions
diff --git a/crates/ra_hir_def/Cargo.toml b/crates/ra_hir_def/Cargo.toml
index 21262be79..7e65f4c1d 100644
--- a/crates/ra_hir_def/Cargo.toml
+++ b/crates/ra_hir_def/Cargo.toml
@@ -4,6 +4,9 @@ name = "ra_hir_def"
4version = "0.1.0" 4version = "0.1.0"
5authors = ["rust-analyzer developers"] 5authors = ["rust-analyzer developers"]
6 6
7[lib]
8doctest = false
9
7[dependencies] 10[dependencies]
8log = "0.4.5" 11log = "0.4.5"
9once_cell = "1.0.1" 12once_cell = "1.0.1"
diff --git a/crates/ra_hir_def/src/nameres/collector.rs b/crates/ra_hir_def/src/nameres/collector.rs
index c9ccb9023..8f426b097 100644
--- a/crates/ra_hir_def/src/nameres/collector.rs
+++ b/crates/ra_hir_def/src/nameres/collector.rs
@@ -165,7 +165,7 @@ where
165 /// crate::foo!(); 165 /// crate::foo!();
166 /// ``` 166 /// ```
167 /// 167 ///
168 /// Well, this code compiles, bacause the plain path `foo` in `use` is searched 168 /// Well, this code compiles, because the plain path `foo` in `use` is searched
169 /// in the legacy textual scope only. 169 /// in the legacy textual scope only.
170 /// ```rust 170 /// ```rust
171 /// macro_rules! foo { () => {} } 171 /// macro_rules! foo { () => {} }