You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Comments with lots of /s should not have spaces inserted #652
Might not be the same issue, but we encountered this in rust-sfml.
The normal commented out code gets changed to doc comments.
/// Shapes implementations using reference counting to manage shared resources
-// pub mod rc {-// pub use graphics::circle_shape::rc::CircleShape;-// pub use graphics::rectangle_shape::rc::RectangleShape;-// pub use graphics::convex_shape::rc::{ConvexShape, ConvexShapePoints};-// pub use graphics::shape::rc::Shape;-// pub use graphics::shader::rc::Shader;-// pub use graphics::text::rc::Text;-// pub use graphics::sprite::rc::Sprite;-// pub use graphics::render_states::rc::RenderStates;-// }+/// pub mod rc {+/// pub use graphics::circle_shape::rc::CircleShape;+/// pub use graphics::rectangle_shape::rc::RectangleShape;+/// pub use graphics::convex_shape::rc::{ConvexShape, ConvexShapePoints};+/// pub use graphics::shape::rc::Shape;+/// pub use graphics::shader::rc::Shader;+/// pub use graphics::text::rc::Text;+/// pub use graphics::sprite::rc::Sprite;+/// pub use graphics::render_states::rc::RenderStates;+/// }
EDIT: This issue does not seem to appear using the rustfmt master branch.
Activity
marcusklaas commentedon Apr 18, 2016
My lord, I forgot how much of a mess the comment code is 😱
crumblingstatue commentedon May 13, 2016
Might not be the same issue, but we encountered this in rust-sfml.
The normal commented out code gets changed to doc comments.
EDIT: This issue does not seem to appear using the rustfmt master branch.
srinivasreddy commentedon Jul 17, 2016
As said in #1094 I am taking this. Thanks @nrc
topecongiro commentedon May 28, 2017
This issue still get reproduced when
normalize_comments = true.