Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Style/IfUnlessModifier bad length calculation #8283
Unless I'm mistaken,
if foo # this comment's length is not taken into account bar end # corrected to bar if foo # this comment's length is not taken into account
Ideally the code to calculate this should use the exact same method that actually computes the replacement...