mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
52 lines
435 B
Rust
52 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 {}
|
|
}
|