about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSeiichi Uchida <seuchida@gmail.com>2019-02-01 00:23:15 +0900
committerGitHub <noreply@github.com>2019-02-01 00:23:15 +0900
commit7c0f59bee3df5d584fb3d2b1ba1b654e2ab4ae73 (patch)
tree56b494660d52fa43d2a89242eca85e61c805c288 /src
parent923da60f728da72ed2f56456a25814fda592c287 (diff)
parent154ccf6a02e3842e064ebc17b47a6abaf00e0691 (diff)
Merge pull request #3306 from topecongiro/issue-2841
Do not force trailing comma when using mixed layout
Diffstat (limited to 'src')
-rw-r--r--src/overflow.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/overflow.rs b/src/overflow.rs
index 344fb28620b..98702e82fda 100644
--- a/src/overflow.rs
+++ b/src/overflow.rs
@@ -607,9 +607,6 @@ impl<'a> Context<'a> {
             tactic
         } else if !self.context.use_block_indent() {
             SeparatorTactic::Never
-        } else if tactic == DefinitiveListTactic::Mixed {
-            // We are using mixed layout because everything did not fit within a single line.
-            SeparatorTactic::Always
         } else {
             self.context.config.trailing_comma()
         };