rust/tests/source/issue-5234.rs
2023-06-19 23:13:56 -05:00

51 lines
435 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 {}
}