From fdbd6bb11a0c47bf9ba1428e6bd432cd2ce72045 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Mon, 30 Sep 2019 11:58:53 +0300 Subject: Added test for check doc strings in crates. #1856 --- crates/ra_tt/src/buffer.rs | 2 ++ crates/ra_tt/src/lib.rs | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'crates/ra_tt') 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 @@ +//! FIXME: write short doc here + use crate::{Subtree, TokenTree}; #[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 @@ -/// `tt` crate defines a `TokenTree` data structure: this is the interface (both -/// input and output) of macros. It closely mirrors `proc_macro` crate's -/// `TokenTree`. +//! `tt` crate defines a `TokenTree` data structure: this is the interface (both +//! input and output) of macros. It closely mirrors `proc_macro` crate's +//! `TokenTree`. macro_rules! impl_froms { ($e:ident: $($v:ident), *) => { -- cgit v1.2.3