fmt-rfcs icon indicating copy to clipboard operation
fmt-rfcs copied to clipboard

Style for long type paths

Open danielhuang opened this issue 10 months ago • 0 comments

Referred from https://github.com/rust-lang/rustfmt/pull/6494

A long type path could look like long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::long_type_path::Long which currently would not get formatted, but this could exceed rustfmt's max_width setting.

How could this be handled?

danielhuang avatar Mar 12 '25 05:03 danielhuang