mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
Make tidy check that opening and closing braces that begin a line do so with proper alignment.
This commit is contained in:
parent
a754c10e79
commit
57e74542ee
3 changed files with 23 additions and 3 deletions
|
@ -63,4 +63,13 @@ impl test {
|
|||
|
||||
let var
|
||||
= "val";
|
||||
|
||||
fn test_fun4()
|
||||
{
|
||||
}
|
||||
let var = if true {
|
||||
"true"
|
||||
} else { // Should not trigger
|
||||
"false"
|
||||
} // Should not trigger
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue