removed instances of -> () in existing code

This commit is contained in:
lucantrop 2017-03-13 17:27:14 +01:00
parent b1faaa15dc
commit d6568e608b
8 changed files with 29 additions and 29 deletions

View file

@ -888,7 +888,7 @@ impl CanvasRenderingContext2DMethods for CanvasRenderingContext2D {
}
// https://html.spec.whatwg.org/multipage/#dom-context-2d-imagesmoothingenabled
fn SetImageSmoothingEnabled(&self, value: bool) -> () {
fn SetImageSmoothingEnabled(&self, value: bool) {
self.state.borrow_mut().image_smoothing_enabled = value;
}