diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-30 11:46:13 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-30 11:46:13 +0100 |
commit | ebfba461123928363da55e75195d76314c51fa7e (patch) | |
tree | a1eecf37856e82e6a858de330ffdec9e1a0327f5 /crates/ra_mbe | |
parent | 733f1d8b709788225bd06f8c0aee1819db92620b (diff) | |
parent | a47bca636cec350cf29c296dafd0c1bec51cd654 (diff) |
Merge #1937
1937: Added test for check doc strings in directory crates/ r=andreevlex a=andreevlex
#1856
Co-authored-by: Alexander Andreev <[email protected]>
Diffstat (limited to 'crates/ra_mbe')
-rw-r--r-- | crates/ra_mbe/src/lib.rs | 8 | ||||
-rw-r--r-- | crates/ra_mbe/src/mbe_expander/matcher.rs | 2 | ||||
-rw-r--r-- | crates/ra_mbe/src/subtree_source.rs | 2 | ||||
-rw-r--r-- | crates/ra_mbe/src/syntax_bridge.rs | 2 | ||||
-rw-r--r-- | crates/ra_mbe/src/tt_iter.rs | 2 |
5 files changed, 12 insertions, 4 deletions
diff --git a/crates/ra_mbe/src/lib.rs b/crates/ra_mbe/src/lib.rs index a0904323c..afdbee84e 100644 --- a/crates/ra_mbe/src/lib.rs +++ b/crates/ra_mbe/src/lib.rs | |||
@@ -1,7 +1,7 @@ | |||
1 | /// `mbe` (short for Macro By Example) crate contains code for handling | 1 | //! `mbe` (short for Macro By Example) crate contains code for handling |
2 | /// `macro_rules` macros. It uses `TokenTree` (from `ra_tt` package) as the | 2 | //! `macro_rules` macros. It uses `TokenTree` (from `ra_tt` package) as the |
3 | /// interface, although it contains some code to bridge `SyntaxNode`s and | 3 | //! interface, although it contains some code to bridge `SyntaxNode`s and |
4 | /// `TokenTree`s as well! | 4 | //! `TokenTree`s as well! |
5 | 5 | ||
6 | mod parser; | 6 | mod parser; |
7 | mod mbe_expander; | 7 | mod mbe_expander; |
diff --git a/crates/ra_mbe/src/mbe_expander/matcher.rs b/crates/ra_mbe/src/mbe_expander/matcher.rs index aff953102..0548e8512 100644 --- a/crates/ra_mbe/src/mbe_expander/matcher.rs +++ b/crates/ra_mbe/src/mbe_expander/matcher.rs | |||
@@ -1,3 +1,5 @@ | |||
1 | //! FIXME: write short doc here | ||
2 | |||
1 | use crate::{ | 3 | use crate::{ |
2 | mbe_expander::{Binding, Bindings, Fragment}, | 4 | mbe_expander::{Binding, Bindings, Fragment}, |
3 | parser::{parse_pattern, Op, RepeatKind, Separator}, | 5 | parser::{parse_pattern, Op, RepeatKind, Separator}, |
diff --git a/crates/ra_mbe/src/subtree_source.rs b/crates/ra_mbe/src/subtree_source.rs index cf7458905..7ef45f6dc 100644 --- a/crates/ra_mbe/src/subtree_source.rs +++ b/crates/ra_mbe/src/subtree_source.rs | |||
@@ -1,3 +1,5 @@ | |||
1 | //! FIXME: write short doc here | ||
2 | |||
1 | use ra_parser::{Token, TokenSource}; | 3 | use ra_parser::{Token, TokenSource}; |
2 | use ra_syntax::{classify_literal, SmolStr, SyntaxKind, SyntaxKind::*, T}; | 4 | use ra_syntax::{classify_literal, SmolStr, SyntaxKind, SyntaxKind::*, T}; |
3 | use std::cell::{Cell, Ref, RefCell}; | 5 | use std::cell::{Cell, Ref, RefCell}; |
diff --git a/crates/ra_mbe/src/syntax_bridge.rs b/crates/ra_mbe/src/syntax_bridge.rs index 2d035307b..1b543c84b 100644 --- a/crates/ra_mbe/src/syntax_bridge.rs +++ b/crates/ra_mbe/src/syntax_bridge.rs | |||
@@ -1,3 +1,5 @@ | |||
1 | //! FIXME: write short doc here | ||
2 | |||
1 | use ra_parser::{ | 3 | use ra_parser::{ |
2 | FragmentKind::{self, *}, | 4 | FragmentKind::{self, *}, |
3 | ParseError, TreeSink, | 5 | ParseError, TreeSink, |
diff --git a/crates/ra_mbe/src/tt_iter.rs b/crates/ra_mbe/src/tt_iter.rs index c53f99d1e..319f1ee65 100644 --- a/crates/ra_mbe/src/tt_iter.rs +++ b/crates/ra_mbe/src/tt_iter.rs | |||
@@ -1,3 +1,5 @@ | |||
1 | //! FIXME: write short doc here | ||
2 | |||
1 | #[derive(Debug, Clone)] | 3 | #[derive(Debug, Clone)] |
2 | pub(crate) struct TtIter<'a> { | 4 | pub(crate) struct TtIter<'a> { |
3 | pub(crate) inner: std::slice::Iter<'a, tt::TokenTree>, | 5 | pub(crate) inner: std::slice::Iter<'a, tt::TokenTree>, |