diff options
| author | Seiichi Uchida <seuchida@gmail.com> | 2018-09-01 16:04:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-01 16:04:14 +0900 |
| commit | 627780864feb4bb1ad2bd6ca0458b58825189e82 (patch) | |
| tree | a444d293e6f7ea049ba33518cd15cba326342549 /src | |
| parent | ec6086b80207535f00689457a4fa5469eabf9215 (diff) | |
| parent | 6a029974de78f3cc918c52047cbd4c0ec5cbcfe0 (diff) | |
Merge pull request #2987 from YaLTeR/fix-issue-2930
Use correct shape in Visual tuple rewriting
Diffstat (limited to 'src')
| -rw-r--r-- | src/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.rs b/src/expr.rs index 74639c6ef63..11d53eb7074 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -1753,7 +1753,7 @@ where Separator::Comma, nested_shape.width, ); - let fmt = ListFormatting::new(shape, context.config) + let fmt = ListFormatting::new(nested_shape, context.config) .tactic(tactic) .ends_with_newline(false); let list_str = write_list(&item_vec, &fmt)?; |
