Hi, I'm proposing to change mercurial's Rust style in rustfmt.toml. I've made a merge request to show what it would look like:
https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/1275 Specifically: - Format imports to be consistent (one per line), and arrange them in groups. - Change the max line width from 79 to 80. - Disable the "small heuristics" which causes wrapping much earlier than max_width. Since this affects all contributors, and formatting always brings out strong opinions, I thought I'd start a discussion here. Let me know if you are in favor or have any objections. Mitchell
_______________________________________________ Mercurial mailing list Mercurial@lists.mercurial-scm.org https://lists.mercurial-scm.org/mailman/listinfo/mercurial