Remove unused helper

The `StateWorkingSet::global_span_offset()` is never read in Nushell and
unlikely to be used elsewhere remove for now
This commit is contained in:
sholderbach 2025-04-24 17:43:38 +02:00
parent 0c652a4203
commit dfcc380512

View File

@ -313,10 +313,6 @@ impl<'a> StateWorkingSet<'a> {
}
}
pub fn global_span_offset(&self) -> usize {
self.permanent_state.next_span_start()
}
pub fn files(&self) -> impl Iterator<Item = &CachedFile> {
self.permanent_state.files().chain(self.delta.files.iter())
}