Rustfmt some of script.

This commit is contained in:
Ms2ger 2015-11-17 16:52:17 +01:00
parent ceb72e54e4
commit 0c61be7a57
50 changed files with 1499 additions and 885 deletions

View file

@ -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))
}
}