Remove dead code
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
c67cfd7fe1
commit
134496ce8f
2 changed files with 0 additions and 49 deletions
|
@ -19,11 +19,6 @@ impl Locator {
|
|||
Self(smallvec![u64::MAX])
|
||||
}
|
||||
|
||||
pub fn from_index(ix: usize, count: usize) -> Self {
|
||||
let id = (1 + ix as u64) * (u64::MAX / (count as u64 + 2));
|
||||
Self(smallvec![id])
|
||||
}
|
||||
|
||||
pub fn assign(&mut self, other: &Self) {
|
||||
self.0.resize(other.0.len(), 0);
|
||||
self.0.copy_from_slice(&other.0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue