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

login
register
mail settings
Submitter Georges Racinet
Date Oct. 15, 2018, 9:49 a.m.
Message ID <58a939a95d72e90a78f7.1539596990@ishtar>
Download mbox | patch
Permalink /patch/36014/
State Accepted
Headers show

Comments

Georges Racinet - Oct. 15, 2018, 9:49 a.m.
# HG changeset patch
# User Georges Racinet on ishtar.racinet.fr <georges@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)

Patch

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