mirror of
https://github.com/nushell/nushell.git
synced 2025-06-06 10:06:49 +02:00
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:
parent
0c652a4203
commit
dfcc380512
@ -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())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user