-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Labels
only-with-optionrequires a non-default option value to reproducerequires a non-default option value to reproducepoor-formatting
Description
With wrap_comments = true
, the following code:
//! * [This is a link with a very loooooooooooooooooooooooooooooooooooooooooong URL.](https://example.com/This/is/a/link/with/a/very/loooooooooooooooooooooooooooooooooooooooooong/URL)
fn main() {
println!("Hello, world!");
}
will be formatted as:
//!
//! * [This is a link with a very loooooooooooooooooooooooooooooooooooooooooong
//! URL.](https://example.com/This/is/a/link/with/a/very/
//! loooooooooooooooooooooooooooooooooooooooooong/URL)
fn main() {
println!("Hello, world!");
}
The URL is broken into two lines.
It seems that this only happens in lists.
Metadata
Metadata
Assignees
Labels
only-with-optionrequires a non-default option value to reproducerequires a non-default option value to reproducepoor-formatting