[PATCH 2 of 2 V5] rust: rustfmt config for hg-direct-ffi

Georges Racinet gracinet at anybox.fr
Mon Oct 15 05:49:50 EDT 2018


# HG changeset patch
# User Georges Racinet on ishtar.racinet.fr <georges at racinet.fr>
# Date 1539594972 -7200
#      Mon Oct 15 11:16:12 2018 +0200
# Node ID 58a939a95d72e90a78f795609fe59a1adef88ddf
# Parent  a7cbd02e936e6724068219ee4c1c50dd4da2b22c
# EXP-Topic rustancestors-contains
rust: rustfmt config for hg-direct-ffi

For now, we're duplicating it, but it would be probably a good idea
to use a single one for the whole workspace (would have implications on the
other crates as well)

diff -r a7cbd02e936e -r 58a939a95d72 rust/hg-direct-ffi/rustfmt.toml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rust/hg-direct-ffi/rustfmt.toml	Mon Oct 15 11:16:12 2018 +0200
@@ -0,0 +1,3 @@
+max_width = 79
+wrap_comments = true
+error_on_line_overflow = true


More information about the Mercurial-devel mailing list