]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rustfmt.toml: set to 80 char line width
authorJason Ish <ish@unx.ca>
Tue, 18 Sep 2018 02:35:14 +0000 (20:35 -0600)
committerVictor Julien <victor@inliniac.net>
Wed, 19 Sep 2018 19:00:51 +0000 (21:00 +0200)
The rustfmt default is 100, set to 80 to be more inline with
the Suricata C code.

rust/rustfmt.toml [new file with mode: 0644]

diff --git a/rust/rustfmt.toml b/rust/rustfmt.toml
new file mode 100644 (file)
index 0000000..4976f5a
--- /dev/null
@@ -0,0 +1,2 @@
+# Rust default is 100. Use 80 to bring in line with Suricata C code.
+max_width = 80