aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/rust_tidy.rs
diff options
context:
space:
mode:
authormrmiywj <jsyangwenjie@gmail.com>2016-05-15 18:19:49 +0800
committermrmiywj <jsyangwenjie@gmail.com>2016-06-05 15:43:35 +0800
commita17ae724144af9bf997a7ad5de8d1fd72e5b7fdd (patch)
tree56273cead50510260f4bf653a518af14f95dfb4b /python/tidy/servo_tidy_tests/rust_tidy.rs
parentc193af8c32e87c146f5a45d06d3c6086f56be820 (diff)
downloadservo-a17ae724144af9bf997a7ad5de8d1fd72e5b7fdd.tar.gz
servo-a17ae724144af9bf997a7ad5de8d1fd72e5b7fdd.zip
add &Root<T> checker
update rust_tidy tests update rust_tidy.rs and test_tidy.py
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 92db863dfaa..aac81515319 100644
--- a/python/tidy/servo_tidy_tests/rust_tidy.rs
+++ b/python/tidy/servo_tidy_tests/rust_tidy.rs
@@ -35,7 +35,7 @@ impl test {
}
}
- fn test_fun2(y : &String, z : &Vec<f32>) -> f32 {
+ fn test_fun2(y : &String, z : &Vec<f32>, r: &Root<isize>) -> f32 {
let x = true;
x
&& x;