Page MenuHomeDevCentral

Configure Rustfmt
ClosedPublic

Authored by dereckson on Apr 9 2023, 08:47.
Tags
None
Referenced Files
F3777439: D2984.diff
Mon, Nov 25, 01:26
Unknown Object (File)
Sun, Nov 17, 22:36
Unknown Object (File)
Wed, Nov 13, 11:40
Unknown Object (File)
Tue, Nov 12, 12:36
Unknown Object (File)
Oct 24 2024, 15:52
Unknown Object (File)
Oct 19 2024, 10:31
Unknown Object (File)
Oct 19 2024, 10:31
Unknown Object (File)
Oct 19 2024, 10:06
Subscribers
None

Details

Summary

This rustfmt.toml configuration can be added to a project root.

The main goal is to avoid to rewrite in oneline small arrays.

The normalize comments part converts /* */ blocks in // comments.

Test Plan

Tested in D2983 between revisions 7612 and 7613.
See https://devcentral.nasqueron.org/D2983?vs=7612&id=761

Diff Detail

Repository
rDEVCS Nasqueron codestyle
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 9 2023, 08:47
This revision was automatically updated to reflect the committed changes.