Skip to content

Commit

Permalink
comment out unused code, could be useful in the future if we want to …
Browse files Browse the repository at this point in the history
…use spans as ranges
  • Loading branch information
susan-garry committed Sep 30, 2024
1 parent 9dc781b commit 29e8a5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flatgfa/src/fgfa_ds/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ impl<T> From<&Span<T>> for std::ops::Range<usize> {
}

impl<T> Span<T> {
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
Expand Down

0 comments on commit 29e8a5f

Please sign in to comment.