We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f0234f commit 6937912Copy full SHA for 6937912
src/main.rs
@@ -299,11 +299,6 @@ fn apply_suggestion(suggestion: &Suggestion) -> Result<(), ProgramError> {
299
// Insert new content! Finally!
300
new_content.push_str(&suggestion.replacement);
301
302
- // TODO(killercup): better handling of trailing semicolons
303
- if suggestion.text.trim().ends_with(';') && !suggestion.replacement.trim().ends_with(';') {
304
- new_content.push_str(";");
305
- }
306
-
307
// Parts of line after replacement
308
new_content.push_str(&file_content.lines()
309
.nth(suggestion.line_range.end.line - 1)
0 commit comments