diff options
author | Aleksey Kladov <[email protected]> | 2019-11-17 15:35:05 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-17 15:35:05 +0000 |
commit | 7e2f4b30db8a0d734b3a1fc9f6ad77b2adc9aa2a (patch) | |
tree | e8cc01507c92d33b8237e39072b13bbe0ccacd33 /crates/ra_hir | |
parent | 52389657c575b7a4d87c817f9678a8d985172049 (diff) |
Disable doctests
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/Cargo.toml | 3 | ||||
-rw-r--r-- | crates/ra_hir/src/ty.rs | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/crates/ra_hir/Cargo.toml b/crates/ra_hir/Cargo.toml index 20f6e3649..42ddfecc9 100644 --- a/crates/ra_hir/Cargo.toml +++ b/crates/ra_hir/Cargo.toml | |||
@@ -4,6 +4,9 @@ name = "ra_hir" | |||
4 | version = "0.1.0" | 4 | version = "0.1.0" |
5 | authors = ["rust-analyzer developers"] | 5 | authors = ["rust-analyzer developers"] |
6 | 6 | ||
7 | [lib] | ||
8 | doctest = false | ||
9 | |||
7 | [dependencies] | 10 | [dependencies] |
8 | arrayvec = "0.5.1" | 11 | arrayvec = "0.5.1" |
9 | log = "0.4.5" | 12 | log = "0.4.5" |
diff --git a/crates/ra_hir/src/ty.rs b/crates/ra_hir/src/ty.rs index a54135188..b7f50b714 100644 --- a/crates/ra_hir/src/ty.rs +++ b/crates/ra_hir/src/ty.rs | |||
@@ -79,7 +79,7 @@ pub enum TypeCtor { | |||
79 | /// | 79 | /// |
80 | /// For example the type of `bar` here: | 80 | /// For example the type of `bar` here: |
81 | /// | 81 | /// |
82 | /// ```rust | 82 | /// ``` |
83 | /// fn foo() -> i32 { 1 } | 83 | /// fn foo() -> i32 { 1 } |
84 | /// let bar = foo; // bar: fn() -> i32 {foo} | 84 | /// let bar = foo; // bar: fn() -> i32 {foo} |
85 | /// ``` | 85 | /// ``` |
@@ -89,7 +89,7 @@ pub enum TypeCtor { | |||
89 | /// | 89 | /// |
90 | /// For example the type of `bar` here: | 90 | /// For example the type of `bar` here: |
91 | /// | 91 | /// |
92 | /// ```rust | 92 | /// ``` |
93 | /// fn foo() -> i32 { 1 } | 93 | /// fn foo() -> i32 { 1 } |
94 | /// let bar: fn() -> i32 = foo; | 94 | /// let bar: fn() -> i32 = foo; |
95 | /// ``` | 95 | /// ``` |