mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
a956a20532
This reverts commit 97d7216cd4
.
21 lines
244 B
Rust
21 lines
244 B
Rust
// rustfmt-format_code_in_doc_comments: true
|
|
|
|
/// ```rust
|
|
/// if (true) { … }
|
|
/// ```
|
|
fn a() {
|
|
}
|
|
|
|
/// ```rust
|
|
/// if foo() {
|
|
/// …
|
|
/// }
|
|
/// ```
|
|
fn a() {
|
|
}
|
|
|
|
/// ```rust
|
|
/// k1 == k2 ⇒ hash(k1) == hash(k2)
|
|
/// ```
|
|
pub struct a ;
|