rust/tests/target/issue-5234.rs

48 lines
476 B
Rust

// rustfmt-format_code_in_doc_comments: true
/// ```
/// ```
fn foo() {}
/// ```
/// Something
/// ```
fn foo() {}
/// ```
/// ```
fn foo() {}
/// /// ```
fn foo() {}
/// /// ```
/// ```
/// ```
/// ```
fn foo() {}
fn foo() {
/// ```
/// ```
struct bar {}
}
/// ```
/// fn com() {
/// let i = 5;
///
/// let j = 6;
/// }
/// ```
fn foo() {}
fn foo() {
/// ```
/// fn com() {
/// let i = 5;
/// }
/// ```
struct bar {}
}