Remove unused code from net and net_traits crates

This commit is contained in:
est31 2019-06-02 02:44:37 +02:00
parent 8dc7a25893
commit fe58aca75d
9 changed files with 0 additions and 259 deletions

View file

@ -90,14 +90,6 @@ impl RelativePos {
end: (start + span).to_usize().unwrap(),
}
}
/// Inverse operation of to_abs_range
pub fn from_abs_range(range: Range<usize>, size: usize) -> RelativePos {
RelativePos {
start: range.start as i64,
end: Some(size as i64 - range.end as i64),
}
}
}
/// Response to file selection request