Files
rust/tests/ui/tabs_in_doc_comments.fixed

28 lines
620 B
Rust
Raw Normal View History

2019-11-15 16:18:08 +01:00
#![warn(clippy::tabs_in_doc_comments)]
///
/// Struct to hold two strings:
/// - first one
//~^ tabs_in_doc_comments
//~| tabs_in_doc_comments
2019-11-15 16:18:08 +01:00
/// - second one
//~^ tabs_in_doc_comments
//~| tabs_in_doc_comments
2019-11-15 16:18:08 +01:00
pub struct DoubleString {
///
/// - First String:
//~^ tabs_in_doc_comments
2019-11-15 16:18:08 +01:00
/// - needs to be inside here
//~^ tabs_in_doc_comments
2019-11-15 16:18:08 +01:00
first_string: String,
///
/// - Second String:
//~^ tabs_in_doc_comments
2019-11-15 16:18:08 +01:00
/// - needs to be inside here
//~^ tabs_in_doc_comments
2019-11-15 16:18:08 +01:00
second_string: String,
}
/// This is main
fn main() {}