Skip to content

Commit

Permalink
add FIXME: where it belongs
Browse files Browse the repository at this point in the history
suggestion from a friend!! 🐸

Co-authored-by: Michael Goulet <michael@errs.io>
  • Loading branch information
WaffleLapkin and compiler-errors authored Nov 29, 2022
1 parent 56ae9a1 commit 1b4012e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_ast_pretty/src/pprust/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl<'a> Comments<'a> {
Comments { sm, comments, current: 0 }
}

// This shouldn't probably clone lmao
// FIXME: This shouldn't probably clone lmao
pub fn next(&self) -> Option<Comment> {
self.comments.get(self.current).cloned()
}
Expand Down

0 comments on commit 1b4012e

Please sign in to comment.