From 7e2f4b30db8a0d734b3a1fc9f6ad77b2adc9aa2a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 17 Nov 2019 18:35:05 +0300 Subject: Disable doctests --- crates/ra_hir_def/Cargo.toml | 3 +++ crates/ra_hir_def/src/nameres/collector.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'crates/ra_hir_def') 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" version = "0.1.0" authors = ["rust-analyzer developers"] +[lib] +doctest = false + [dependencies] log = "0.4.5" once_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 /// crate::foo!(); /// ``` /// - /// Well, this code compiles, bacause the plain path `foo` in `use` is searched + /// Well, this code compiles, because the plain path `foo` in `use` is searched /// in the legacy textual scope only. /// ```rust /// macro_rules! foo { () => {} } -- cgit v1.2.3