diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2024-02-06 16:19:41 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-02-21 16:20:32 +0000 |
commit | a9345dd46e44a5294340ace1bced48fd6d6225d3 (patch) | |
tree | 94da61d34e8ab42524ba3ba8a846fd7086b90d7d | |
parent | 20ada4b5c135862104ca724a6d9d17730286aa82 (diff) | |
download | unit-a9345dd46e44a5294340ace1bced48fd6d6225d3.tar.gz unit-a9345dd46e44a5294340ace1bced48fd6d6225d3.tar.bz2 |
Add a .rustfmt.toml file
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 <a.clayton@nginx.com>
-rw-r--r-- | .rustfmt.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 00000000..df99c691 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1 @@ +max_width = 80 |