]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Add Rust formatting for 80 char lines
authorDavid Mulder <dmulder@samba.org>
Tue, 30 Jul 2024 19:28:31 +0000 (13:28 -0600)
committerDavid Mulder <dmulder@samba.org>
Wed, 23 Oct 2024 14:21:33 +0000 (14:21 +0000)
This option helps force `cargo fmt` to follow
Samba's coding conventions. The 80 char max
is only lightly enforced here.

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
himmelblaud/rustfmt.toml [new file with mode: 0644]

diff --git a/himmelblaud/rustfmt.toml b/himmelblaud/rustfmt.toml
new file mode 100644 (file)
index 0000000..fee2c90
--- /dev/null
@@ -0,0 +1,2 @@
+# Lightly enforce maximum 80 characters
+max_width = 80