We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f874199 commit ab98945Copy full SHA for ab98945
src/types.rs
@@ -1015,14 +1015,11 @@ impl Rewrite for ast::Ty {
1015
}
1016
1017
let inner_ty_shape = if context.use_block_indent() {
1018
- shape
1019
- .offset_left(result.len())
1020
- .max_width_error(shape.width, self.span())?
+ shape.offset_left(result.len(), self.span())?
1021
} else {
1022
shape
1023
.visual_indent(result.len())
1024
- .sub_width(result.len())
1025
+ .sub_width(result.len(), self.span())?
1026
};
1027
1028
let rewrite = binder.inner_ty.rewrite_result(context, inner_ty_shape)?;
0 commit comments