diff options
author | Alexander Andreev <[email protected]> | 2019-09-30 09:58:53 +0100 |
---|---|---|
committer | Alexander Andreev <[email protected]> | 2019-09-30 09:58:53 +0100 |
commit | fdbd6bb11a0c47bf9ba1428e6bd432cd2ce72045 (patch) | |
tree | e5325e7642552b1902428eb4577e6c9d4f2e1260 /crates/ra_tt | |
parent | 2b69c84396cf376b496e7de3c954400e51b5fc24 (diff) |
Added test for check doc strings in crates.
#1856
Diffstat (limited to 'crates/ra_tt')
-rw-r--r-- | crates/ra_tt/src/buffer.rs | 2 | ||||
-rw-r--r-- | crates/ra_tt/src/lib.rs | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/crates/ra_tt/src/buffer.rs b/crates/ra_tt/src/buffer.rs index 48c22a2d8..ef3f2323c 100644 --- a/crates/ra_tt/src/buffer.rs +++ b/crates/ra_tt/src/buffer.rs | |||
@@ -1,3 +1,5 @@ | |||
1 | //! FIXME: write short doc here | ||
2 | |||
1 | use crate::{Subtree, TokenTree}; | 3 | use crate::{Subtree, TokenTree}; |
2 | 4 | ||
3 | #[derive(Copy, Clone, Debug, Eq, PartialEq)] | 5 | #[derive(Copy, Clone, Debug, Eq, PartialEq)] |
diff --git a/crates/ra_tt/src/lib.rs b/crates/ra_tt/src/lib.rs index 2a48c66c4..20c251ff4 100644 --- a/crates/ra_tt/src/lib.rs +++ b/crates/ra_tt/src/lib.rs | |||
@@ -1,6 +1,6 @@ | |||
1 | /// `tt` crate defines a `TokenTree` data structure: this is the interface (both | 1 | //! `tt` crate defines a `TokenTree` data structure: this is the interface (both |
2 | /// input and output) of macros. It closely mirrors `proc_macro` crate's | 2 | //! input and output) of macros. It closely mirrors `proc_macro` crate's |
3 | /// `TokenTree`. | 3 | //! `TokenTree`. |
4 | 4 | ||
5 | macro_rules! impl_froms { | 5 | macro_rules! impl_froms { |
6 | ($e:ident: $($v:ident), *) => { | 6 | ($e:ident: $($v:ident), *) => { |