let comment = try_opt!(rewrite_comment(comment,
false,
Shape::legacy(context.config
- .ideal_width -
+ .comment_width -
shape.indent.width(),
shape.indent),
context.config));
if a_str.starts_with("//") {
a_str = try_opt!(rewrite_comment(&a_str,
false,
- Shape::legacy(context.config.ideal_width -
+ Shape::legacy(context.config.comment_width -
shape.indent.width(),
shape.indent),
context.config));