mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
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 @@ 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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user