aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/rust_tidy.rs
diff options
context:
space:
mode:
authorlucantrop <luka.hadzi@gmail.com>2017-03-13 13:13:46 +0100
committerlucantrop <luka.hadzi@gmail.com>2017-03-13 17:38:32 +0100
commitb1faaa15dcae2c0ba3bebd9d668ce9e3b231932c (patch)
tree0d50277b32c18f723120f790652be2e060311ecc /python/tidy/servo_tidy_tests/rust_tidy.rs
parent94c344a01422ef39c216f27bdcb3046f3ecf84ef (diff)
downloadservo-b1faaa15dcae2c0ba3bebd9d668ce9e3b231932c.tar.gz
servo-b1faaa15dcae2c0ba3bebd9d668ce9e3b231932c.zip
added tidy check for -> ()
Diffstat (limited to 'python/tidy/servo_tidy_tests/rust_tidy.rs')
-rw-r--r--python/tidy/servo_tidy_tests/rust_tidy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tidy/servo_tidy_tests/rust_tidy.rs b/python/tidy/servo_tidy_tests/rust_tidy.rs
index e7efa2c0cbb..7a65de0ffcc 100644
--- a/python/tidy/servo_tidy_tests/rust_tidy.rs
+++ b/python/tidy/servo_tidy_tests/rust_tidy.rs
@@ -38,7 +38,7 @@ impl test {
}
}
- fn test_fun2(y : &String, z : &Vec<f32>, r: &Root<isize>) -> f32 {
+ fn test_fun2(y : &String, z : &Vec<f32>, r: &Root<isize>) -> () {
let x = true;
x
&& x;