aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/rust_tidy.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-04-22 10:40:06 -0700
committerbors-servo <lbergstrom+bors@mozilla.com>2016-04-22 10:40:06 -0700
commitd926b5d3762a101d5280266f806f2b979f73b695 (patch)
tree07ca09b75004f11a8a7458251ac7fa1ad2fb0c10 /python/tidy/servo_tidy_tests/rust_tidy.rs
parent4da6855e2332ce433fd6d6ea9d84cbb940df2b41 (diff)
parent39780ca39f2beff6c0f8e55eab75022b27cd046e (diff)
downloadservo-d926b5d3762a101d5280266f806f2b979f73b695.tar.gz
servo-d926b5d3762a101d5280266f806f2b979f73b695.zip
Auto merge of #10751 - zwn:tidy-start-operator, r=Wafflespeanut
Report lines starting with && in tidy Partial implementation of the issue #10692 (the easy part). <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10751) <!-- Reviewable:end -->
Diffstat (limited to 'python/tidy/servo_tidy_tests/rust_tidy.rs')
-rw-r--r--python/tidy/servo_tidy_tests/rust_tidy.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/tidy/servo_tidy_tests/rust_tidy.rs b/python/tidy/servo_tidy_tests/rust_tidy.rs
index 680b527f679..580f9e2ea96 100644
--- a/python/tidy/servo_tidy_tests/rust_tidy.rs
+++ b/python/tidy/servo_tidy_tests/rust_tidy.rs
@@ -32,6 +32,9 @@ impl test {
}
fn test_fun2(y : &String, z : &Vec<f32>) -> f32 {
- 1
+ let x = true;
+ x
+ && x;
}
+
}