-
Notifications
You must be signed in to change notification settings - Fork 925
Comments with lots of /
s should not have spaces inserted
#652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
a-comments
bug
Panic, non-idempotency, invalid code, etc.
only-with-option
requires a non-default option value to reproduce
Comments
My lord, I forgot how much of a mess the comment code is 😱 |
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. |
This issue still get reproduced when |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a-comments
bug
Panic, non-idempotency, invalid code, etc.
only-with-option
requires a non-default option value to reproduce
e.g.,
Note that we're changing a regular comment to a doc comment here too
The text was updated successfully, but these errors were encountered: