Skip to content

Commit 109da9a

Browse files
committed
Fix unuseful fixme
Signed-off-by: xizheyin <[email protected]>
1 parent e3b2455 commit 109da9a

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_parse/src/parser

1 file changed

+1
-1
lines changed

compiler/rustc_parse/src/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ impl<'a> Parser<'a> {
919919
// Parsed successfully, therefore most probably the code only
920920
// misses a separator.
921921

922-
// FIXME(xizheyin): This is a hack to avoid adding suggestions for doc comments in item list.
922+
// This is to avoid adding suggestions twice for doc comments in item list.
923923
let contains_missing_comma_suggestion =
924924
expect_err.suggestions.clone().unwrap_tag().iter().any(
925925
|s| {

0 commit comments

Comments
 (0)