Put the where clause next to the closing bracket only when it is not indented
This commit is contained in:
parent
2e4376d29c
commit
d51b99f5d7
1 changed files with 1 additions and 1 deletions
|
|
@ -2143,7 +2143,7 @@ impl WhereClauseOption {
|
|||
pub fn snuggled(current: &str) -> WhereClauseOption {
|
||||
WhereClauseOption {
|
||||
suppress_comma: false,
|
||||
snuggle: trimmed_last_line_width(current) == 1,
|
||||
snuggle: last_line_width(current) == 1,
|
||||
compress_where: false,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue