3 ms·
Servo doesn't mandate that style. We use a mix of column-aligned and shifted styles. We tend to column align a lot, but we're okay with other ways of aligning a
by Manishearth 11y ago
Servo doesn't mandate that style. We use a mix of column-aligned and shifted styles. We tend to column align a lot, but we're okay with other ways of aligning as long as it doesn't exceed 120 characters.
> It's the presumption behind these kind of rigid code reformatters.
Rustfmt isn't rigid!
It's highly configurable, file a bug if you want this sort of formatting to be a part of the configuration. I've already filed an issue that asks for a less aggressive line-splitter https://github.com/nrc/rustfmt/issues/448 https://github.com/nrc/rustfmt/issues/448