Auto merge of #9073 - dsprenkels:issue-8733, r=Wafflespeanut

tidy.py: remove duplicate code patterns in `check_rust(file_name, lines)`

This is an attempt at a reasonable fix for #8733.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9073)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-12-31 20:20:27 +05:30
commit 9fa56ccfdf
2 changed files with 66 additions and 88 deletions

View file

@ -116,7 +116,7 @@ pub struct hw_module {
author: *const c_char,
methods: *mut hw_module_methods,
dso: *mut u32,
reserved: [u32; (32-7)],
reserved: [u32; (32 - 7)],
}
#[repr(C)]