Fix imports
This commit is contained in:
parent
024c03e81b
commit
e5c79bb26b
1 changed files with 2 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ use comment::{contains_comment, rewrite_doc_comment};
|
|||
use config::lists::*;
|
||||
use config::IndentStyle;
|
||||
use expr::rewrite_literal;
|
||||
use lists::{itemize_list, write_list, ListFormatting};
|
||||
use lists::{definitive_tactic, itemize_list, write_list, ListFormatting, Separator};
|
||||
use rewrite::{Rewrite, RewriteContext};
|
||||
use shape::Shape;
|
||||
use types::{rewrite_path, PathContext};
|
||||
|
|
@ -294,8 +294,7 @@ where
|
|||
ListTactic::HorizontalVertical
|
||||
};
|
||||
|
||||
let tactic =
|
||||
::lists::definitive_tactic(&item_vec, tactic, ::lists::Separator::Comma, shape.width);
|
||||
let tactic = definitive_tactic(&item_vec, tactic, Separator::Comma, shape.width);
|
||||
let fmt = ListFormatting::new(shape, context.config)
|
||||
.tactic(tactic)
|
||||
.ends_with_newline(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue