File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ fn unbreakable_initializer_expr_pre_formatting_length_through_initializer_expr_n
117117 // Break after the `=` and put the initializer expr on it's own line.
118118 // Because the initializer expr is multi-lined the else is placed on it's own line.
119119 // The initializer expr has a length of 91, which when indented on the next line
120- // The `(indent)init` line has a lengh of 99. This is the max length that the `init` can be
121- // before we start running into max_width issues. I suspect this is becuase the shape is
120+ // The `(indent)init` line has a length of 99. This is the max length that the `init` can be
121+ // before we start running into max_width issues. I suspect this is because the shape is
122122 // accounting for the `;` at the end of the `let-else` statement.
123123 let Some ( x) = some_really_really_really_really_really_really_really_really_really_really_long_name______I else { return } ;
124124
@@ -127,7 +127,7 @@ fn unbreakable_initializer_expr_pre_formatting_length_through_initializer_expr_n
127127 // Post Formatting:
128128 // Max length issues prevent us from formatting.
129129 // The initializer expr has a length of 92, which if it would be indented on the next line
130- // the `(indent)init` line has a lengh of 100 which == max_width of 100.
130+ // the `(indent)init` line has a length of 100 which == max_width of 100.
131131 // One might expect formatting to succeed, but I suspect the reason we hit max_width issues is
132132 // because the Shape is accounting for the `;` at the end of the `let-else` statement.
133133 let Some ( x) = some_really_really_really_really_really_really_really_really_really_really_really_long_nameJ else { return } ;
Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ fn unbreakable_initializer_expr_pre_formatting_length_through_initializer_expr_n
180180 // Break after the `=` and put the initializer expr on it's own line.
181181 // Because the initializer expr is multi-lined the else is placed on it's own line.
182182 // The initializer expr has a length of 91, which when indented on the next line
183- // The `(indent)init` line has a lengh of 99. This is the max length that the `init` can be
184- // before we start running into max_width issues. I suspect this is becuase the shape is
183+ // The `(indent)init` line has a length of 99. This is the max length that the `init` can be
184+ // before we start running into max_width issues. I suspect this is because the shape is
185185 // accounting for the `;` at the end of the `let-else` statement.
186186 let Some ( x) =
187187 some_really_really_really_really_really_really_really_really_really_really_long_name______I
@@ -194,7 +194,7 @@ fn unbreakable_initializer_expr_pre_formatting_length_through_initializer_expr_n
194194 // Post Formatting:
195195 // Max length issues prevent us from formatting.
196196 // The initializer expr has a length of 92, which if it would be indented on the next line
197- // the `(indent)init` line has a lengh of 100 which == max_width of 100.
197+ // the `(indent)init` line has a length of 100 which == max_width of 100.
198198 // One might expect formatting to succeed, but I suspect the reason we hit max_width issues is
199199 // because the Shape is accounting for the `;` at the end of the `let-else` statement.
200200 let Some ( x) = some_really_really_really_really_really_really_really_really_really_really_really_long_nameJ else { return } ;
You can’t perform that action at this time.
0 commit comments