mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
15 lines
531 B
Rust
15 lines
531 B
Rust
// rustfmt-wrap_comments: true
|
|
|
|
/// [MyType](VeryLongPathToMyType::NoLineBreak::Here::Okay::ThatWouldBeNice::Thanks)
|
|
fn documented_with_longtype() {
|
|
// # We're using a long type link, rustfmt should not break line
|
|
// on the type when `wrap_comments = true`
|
|
}
|
|
|
|
/// VeryLongPathToMyType::JustMyType::But::VeryVery::Long::NoLineBreak::Here::Okay::ThatWouldBeNice::Thanks
|
|
fn documented_with_verylongtype() {
|
|
// # We're using a long type link, rustfmt should not break line
|
|
// on the type when `wrap_comments = true`
|
|
}
|
|
|