summaryrefslogtreecommitdiffstats
path: root/src/frontier/image.rs
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-11-07 14:43:38 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-11-21 16:46:50 -0500
commit932ff518e5f70c58e8dc687c00dab2bbdd4bec8d (patch)
tree5c0c6931b161d889ec79f32215cc5ff1a9166402 /src/frontier/image.rs
parent9921304be59b13bfa6dca0c8938a3952003556e4 (diff)
downloadkd-forest-932ff518e5f70c58e8dc687c00dab2bbdd4bec8d.tar.xz
frontier: Remove unused is_empty() method
Diffstat (limited to 'src/frontier/image.rs')
-rw-r--r--src/frontier/image.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/frontier/image.rs b/src/frontier/image.rs
index 5db33b8..ded0cbe 100644
--- a/src/frontier/image.rs
+++ b/src/frontier/image.rs
@@ -58,10 +58,6 @@ where
self.len - self.deleted
}
- fn is_empty(&self) -> bool {
- self.len() == 0
- }
-
fn place(&mut self, rgb8: Rgb8) -> Option<(u32, u32)> {
let color = C::from(rgb8);