]> git.lizzy.rs Git - rust.git/blob - tests/ui/tabs_in_doc_comments.fixed
Fix adjacent code
[rust.git] / tests / ui / tabs_in_doc_comments.fixed
1 // run-rustfix
2
3 #![warn(clippy::tabs_in_doc_comments)]
4 #[allow(dead_code)]
5
6 ///
7 /// Struct to hold two strings:
8 ///     - first        one
9 ///     - second    one
10 pub struct DoubleString {
11     ///
12     ///     - First String:
13     ///         - needs to be inside here
14     first_string: String,
15     ///
16     ///     - Second String:
17     ///         - needs to be inside here
18     second_string: String,
19 }
20
21 /// This is main
22 fn main() {}