diff options
| author | Seiichi Uchida <seuchida@gmail.com> | 2019-02-01 00:23:15 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-01 00:23:15 +0900 |
| commit | 7c0f59bee3df5d584fb3d2b1ba1b654e2ab4ae73 (patch) | |
| tree | 56b494660d52fa43d2a89242eca85e61c805c288 /src | |
| parent | 923da60f728da72ed2f56456a25814fda592c287 (diff) | |
| parent | 154ccf6a02e3842e064ebc17b47a6abaf00e0691 (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.rs | 3 |
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() }; |
