about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/tabs_in_doc_comments.rs
blob: 73d4d92a862e1b177f4674879ad1279be15ba5d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#![warn(clippy::tabs_in_doc_comments)]

///
/// Struct to hold two strings:
/// 	- first		one
//~^ tabs_in_doc_comments
//~| tabs_in_doc_comments
/// 	- second	one
//~^ tabs_in_doc_comments
//~| tabs_in_doc_comments
pub struct DoubleString {
    ///
    /// 	- First String:
    //~^ tabs_in_doc_comments
    /// 		- needs to be inside here
    //~^ tabs_in_doc_comments
    first_string: String,
    ///
    /// 	- Second String:
    //~^ tabs_in_doc_comments
    /// 		- needs to be inside here
    //~^ tabs_in_doc_comments
    second_string: String,
}

/// This is main
fn main() {}