about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/tabs_in_doc_comments.fixed
blob: ed96cbaa6d3c8a06712cc6ec5c67198d75a29596 (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() {}