mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Remove unused code from script* crates
This commit is contained in:
parent
8dc7a25893
commit
8b6ed3d182
13 changed files with 2 additions and 133 deletions
|
@ -550,10 +550,6 @@ pub type NsDuration = Length<u64, Nanoseconds>;
|
|||
pub fn precise_time_ms() -> MsDuration {
|
||||
Length::new(time::precise_time_ns() / (1000 * 1000))
|
||||
}
|
||||
/// Returns the duration since an unspecified epoch measured in ns.
|
||||
pub fn precise_time_ns() -> NsDuration {
|
||||
Length::new(time::precise_time_ns())
|
||||
}
|
||||
|
||||
/// Data needed to construct a script thread.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue