mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove unused code from net and net_traits crates
This commit is contained in:
parent
8dc7a25893
commit
fe58aca75d
9 changed files with 0 additions and 259 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue