aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/src/ast/node_ext.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-12-07 15:12:53 +0000
committerGitHub <[email protected]>2020-12-07 15:12:53 +0000
commit9a88332452d661d4afea10f0063c893142e08019 (patch)
tree6c86ff943373b9e20f5c7cd877706aacacc9a505 /crates/syntax/src/ast/node_ext.rs
parent6df91a84dc129b13dc58db510e68c5eb04297087 (diff)
parent93262c750e65dcc58b9a87b9efdec55177269210 (diff)
Merge #6743
6743: Don't insert blank lines between doc attributes r=Veykril a=Veykril Fixes #6742. Doc attributes should be concatenated via a single linebreak as written in the [rustdoc book](https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html). Also changed the loop to use an iterator to get rid of the `docs.trim_end_matches("\n\n").to_owned()` part using `Itertools::intersperse`. Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/syntax/src/ast/node_ext.rs')
0 files changed, 0 insertions, 0 deletions