Various issues with pub(crate)
tuple structs containing comments
#5011
Labels
pub(crate)
tuple structs containing comments
#5011
These relate specifically to
pub(crate)
tuple structs. Other vis modifiers are not affected. Only occurs when there is a comment before the first unnamed field.ASlash
's comment is deletedAStar
gets bonus nonsenseBStar
is likeAStar
but on one lineTested on
rustfmt 1.4.37-stable (c8dfcfe0 2021-09-06)
Similar to #919, but those structs were empty, but these ones have fields.
The text was updated successfully, but these errors were encountered: