Page MenuHomeDevCentral

Configure Rustfmt
ClosedPublic

Authored by dereckson on Apr 9 2023, 08:47.
Tags
None
Referenced Files
F53586711: D2984.diff
Sun, Oct 11, 00:46
F53577938: D2984.id7615.diff
Sat, Oct 10, 23:34
F53562493: D2984.id7615.diff
Sat, Oct 10, 21:28
F53562349: D2984.id7614.diff
Sat, Oct 10, 21:27
F53531579: D2984.diff
Sat, Oct 10, 17:14
F53504842: D2984.diff
Sat, Oct 10, 12:11
Unknown Object (File)
Thu, Oct 8, 20:27
Unknown Object (File)
Thu, Oct 8, 05:49
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.