mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix a bunch of clippy lints
This commit is contained in:
parent
b1ca3d1cdf
commit
6b215f38ee
58 changed files with 281 additions and 356 deletions
|
@ -320,10 +320,8 @@ impl CanvasRenderingContext2D {
|
|||
}
|
||||
};
|
||||
|
||||
if result.is_ok() {
|
||||
if !self.is_origin_clean(image) {
|
||||
self.set_origin_unclean()
|
||||
}
|
||||
if result.is_ok() && !self.is_origin_clean(image) {
|
||||
self.set_origin_unclean()
|
||||
}
|
||||
result
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue