rust/tests/target/issue-5234.rs
2023-01-29 12:55:14 -06:00

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 {}
}