add &Root<T> checker

update rust_tidy tests

update rust_tidy.rs and test_tidy.py
This commit is contained in:
mrmiywj 2016-05-15 18:19:49 +08:00
parent c193af8c32
commit a17ae72414
3 changed files with 4 additions and 1 deletions

View file

@ -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;