1e78a2b258
Fixes 5157 Doc comments support markdown, but rustfmt didn't previously assign any semantic value to leading '> ' in comments. This lead to poor formatting when using ``wrap_comments=true``. Now, rustfmt treats block quotes as itemized blocks, which greatly improves how block quotes are formatted when ``wrap_comments=true``.
7 lines
246 B
Rust
7 lines
246 B
Rust
// rustfmt-wrap_comments: true
|
|
|
|
/// > For each sample received, the middleware internally maintains a
|
|
/// > sample_state relative to each DataReader. The sample_state can
|
|
/// > either be READ or NOT_READ.
|
|
fn block_quote() {}
|