From 29e8a5f4737ea96d479a26cfe37a6d344b1ff11f Mon Sep 17 00:00:00 2001 From: susan-garry Date: Mon, 30 Sep 2024 11:24:50 -0400 Subject: [PATCH] comment out unused code, could be useful in the future if we want to use spans as ranges --- flatgfa/src/fgfa_ds/pool.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flatgfa/src/fgfa_ds/pool.rs b/flatgfa/src/fgfa_ds/pool.rs index 2872388a..2080ad13 100644 --- a/flatgfa/src/fgfa_ds/pool.rs +++ b/flatgfa/src/fgfa_ds/pool.rs @@ -86,9 +86,9 @@ impl From<&Span> for std::ops::Range { } impl Span { - pub fn is_empty(&self) -> bool { - self.start.0 == self.end.0 - } + // pub fn is_empty(&self) -> bool { + // self.start.0 == self.end.0 + // } pub fn len(&self) -> usize { (self.end.0 - self.start.0) as usize