Skip to content

Commit

Permalink
Add a .rustfmt.toml file
Browse files Browse the repository at this point in the history
This is used by the rustfmt program to format Rust code according to the
rules contained in this file.

Currently we just set the line width limit to 80 characters to match our
C code.

Signed-off-by: Andrew Clayton <[email protected]>
  • Loading branch information
ac000 committed Feb 21, 2024
1 parent 20ada4b commit a9345dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
max_width = 80

0 comments on commit a9345dd

Please sign in to comment.