Put the where clause next to the closing bracket only when it is not indented
This commit is contained in:
parent
2e4376d29c
commit
d51b99f5d7
@ -2143,7 +2143,7 @@ impl WhereClauseOption {
|
|||||||
pub fn snuggled(current: &str) -> WhereClauseOption {
|
pub fn snuggled(current: &str) -> WhereClauseOption {
|
||||||
WhereClauseOption {
|
WhereClauseOption {
|
||||||
suppress_comma: false,
|
suppress_comma: false,
|
||||||
snuggle: trimmed_last_line_width(current) == 1,
|
snuggle: last_line_width(current) == 1,
|
||||||
compress_where: false,
|
compress_where: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user