Page MenuHomeDevCentral

Configure Rustfmt
ClosedPublic

Authored by dereckson on Apr 9 2023, 08:47.
Tags
None
Referenced Files
F33198344: D2984.id7614.diff
Mon, Jun 15, 17:59
Unknown Object (File)
Sun, Jun 14, 04:50
Unknown Object (File)
Sat, Jun 13, 10:07
Unknown Object (File)
Sat, Jun 13, 01:20
Unknown Object (File)
Thu, Jun 11, 00:40
Unknown Object (File)
Wed, Jun 10, 07:26
Unknown Object (File)
Tue, Jun 9, 21:51
Unknown Object (File)
Tue, Jun 9, 04:16
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.