Page MenuHomeDevCentral

Configure Rustfmt
ClosedPublic

Authored by dereckson on Apr 9 2023, 08:47.
Tags
None
Referenced Files
F10323724: D2984.id.diff
Sat, Jun 28, 14:09
Unknown Object (File)
Fri, Jun 27, 12:06
Unknown Object (File)
Wed, Jun 18, 22:33
Unknown Object (File)
Wed, Jun 18, 21:30
Unknown Object (File)
Wed, Jun 18, 13:55
Unknown Object (File)
Tue, Jun 17, 14:56
Unknown Object (File)
Mon, Jun 9, 02:18
Unknown Object (File)
Sun, Jun 8, 22:51
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
No Lint Coverage
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4711
Build 4992: arc lint + arc unit

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.