add FIXME:
where it belongs
suggestion from a friend!! 🐸
Co-authored-by: Michael Goulet <michael@errs.io>
This commit is contained in:
parent
56ae9a1746
commit
1b4012e304
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user