mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Rustfmt some of script.
This commit is contained in:
parent
ceb72e54e4
commit
0c61be7a57
50 changed files with 1499 additions and 885 deletions
|
@ -13,7 +13,7 @@ use dom::dompointreadonly::{DOMPointReadOnly, DOMPointWriteMethods};
|
|||
// http://dev.w3.org/fxtf/geometry/Overview.html#dompoint
|
||||
#[dom_struct]
|
||||
pub struct DOMPoint {
|
||||
point: DOMPointReadOnly
|
||||
point: DOMPointReadOnly,
|
||||
}
|
||||
|
||||
impl DOMPoint {
|
||||
|
@ -28,7 +28,11 @@ impl DOMPoint {
|
|||
}
|
||||
|
||||
pub fn Constructor(global: GlobalRef,
|
||||
x: f64, y: f64, z: f64, w: f64) -> Fallible<Root<DOMPoint>> {
|
||||
x: f64,
|
||||
y: f64,
|
||||
z: f64,
|
||||
w: f64)
|
||||
-> Fallible<Root<DOMPoint>> {
|
||||
Ok(DOMPoint::new(global, x, y, z, w))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue