tidy.py: made check_rust(file_name, lines) more readable

also added a rule that requires a space before '-' (except in cases of scientific notation)
fixes #8733
This commit is contained in:
Daan Sprenkels 2015-12-27 03:12:17 +01:00
parent d2e7fd8221
commit c9f188d163
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)]