Remove unreachable lines
This commit is contained in:
parent
f545dfe95e
commit
8d01496c9e
1 changed files with 0 additions and 5 deletions
|
|
@ -709,11 +709,6 @@ pub fn format_impl(
|
|||
return Some(result);
|
||||
}
|
||||
|
||||
if !where_clause_str.is_empty() && !where_clause_str.contains('\n') {
|
||||
let width = offset.block_indent + context.config.tab_spaces() - 1;
|
||||
let where_indent = Indent::new(0, width);
|
||||
result.push_str(&where_indent.to_string_with_newline(context.config));
|
||||
}
|
||||
result.push_str(&where_clause_str);
|
||||
|
||||
let need_newline = last_line_contains_single_line_comment(&result) || result.contains('\n');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue