mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 04:44:44 +00:00
Apply trivial clippy fixes
This commit is contained in:
parent
6d3dda8129
commit
7d3116f546
26 changed files with 360 additions and 384 deletions
|
@ -27,6 +27,10 @@ where
|
|||
self.buffer.len()
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.buffer.is_empty()
|
||||
}
|
||||
|
||||
pub fn get_next(&mut self) -> bool {
|
||||
if self.done {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue