Page MenuHomeDevCentral

Configure Rustfmt
ClosedPublic

Authored by dereckson on Apr 9 2023, 08:47.
Tags
None
Referenced Files
F11787886: D2984.id7615.diff
Mon, Sep 22, 05:18
F11787885: D2984.id7614.diff
Mon, Sep 22, 05:18
F11787353: D2984.diff
Mon, Sep 22, 03:46
Unknown Object (File)
Sun, Sep 14, 06:05
Unknown Object (File)
Sat, Sep 13, 16:58
Unknown Object (File)
Sat, Sep 13, 16:16
Unknown Object (File)
Sat, Sep 13, 01:30
Unknown Object (File)
Fri, Sep 12, 18:18
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.