2019-05-10 08:22:52 -05:00
|
|
|
// rustfmt-format_code_in_doc_comments: true
|
2018-10-17 00:21:04 -05:00
|
|
|
|
|
|
|
/// ```rust
|
|
|
|
/// if (true) { … }
|
|
|
|
/// ```
|
|
|
|
fn a() {}
|
|
|
|
|
|
|
|
/// ```rust
|
|
|
|
/// if foo() {
|
|
|
|
/// …
|
|
|
|
/// }
|
|
|
|
/// ```
|
|
|
|
fn a() {}
|
|
|
|
|
|
|
|
/// ```rust
|
|
|
|
/// k1 == k2 ⇒ hash(k1) == hash(k2)
|
|
|
|
/// ```
|
|
|
|
pub struct a;
|