wip: more refactor for async

This commit is contained in:
Jonathan Kelley committed 2021-07-09 12:47:41 -04:00
1 parent 8cfc437bfe
commit 975fa566f9
18 files changed
+110 -122

No files matched your search

+2 -2
View File
@@ -59,7 +59,7 @@ impl HookList {
}
#[inline]
pub(crate) fn is_finished(&self) -> bool {
self.idx.get() == self.vals.len()
pub(crate) fn at_end(&self) -> bool {
self.cur_idx() >= self.len()
}
}