add FIXME: where it belongs

suggestion from a friend!! 🐸

Co-authored-by: Michael Goulet <michael@errs.io>
This commit is contained in:
Waffle Maybe 2022-11-29 22:01:49 +04:00 committed by GitHub
parent 56ae9a1746
commit 1b4012e304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ pub fn new(sm: &'a SourceMap, filename: FileName, input: String) -> 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()
}