mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
21 lines
236 B
Rust
21 lines
236 B
Rust
// rustfmt-format_doc_comments: true
|
|
|
|
/// ```rust
|
|
/// if (true) { … }
|
|
/// ```
|
|
fn a() {
|
|
}
|
|
|
|
/// ```rust
|
|
/// if foo() {
|
|
/// …
|
|
/// }
|
|
/// ```
|
|
fn a() {
|
|
}
|
|
|
|
/// ```rust
|
|
/// k1 == k2 ⇒ hash(k1) == hash(k2)
|
|
/// ```
|
|
pub struct a ;
|