diff options
author | Benjamin Coenen <[email protected]> | 2020-04-09 17:37:34 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-04-09 18:12:50 +0100 |
commit | c1317d692321ba5ba8f138067ebefbb9559d098d (patch) | |
tree | e29a44577e4d2cf55b6f53e3428abea43bbd33d7 /xtask/src/lib.rs | |
parent | fc70cf9458c5234decafdd52b9aced790ac43d7a (diff) | |
parent | 30f0ad159a0f260f54356385de63c171722adb72 (diff) |
feat: add support for feature attributes in struct literal
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'xtask/src/lib.rs')
-rw-r--r-- | xtask/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index 9d087daa2..ec824a518 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs | |||
@@ -67,6 +67,7 @@ fn reformat(text: impl std::fmt::Display) -> Result<String> { | |||
67 | let mut rustfmt = Command::new("rustup") | 67 | let mut rustfmt = Command::new("rustup") |
68 | .args(&["run", TOOLCHAIN, "--", "rustfmt", "--config-path"]) | 68 | .args(&["run", TOOLCHAIN, "--", "rustfmt", "--config-path"]) |
69 | .arg(project_root().join("rustfmt.toml")) | 69 | .arg(project_root().join("rustfmt.toml")) |
70 | .args(&["--config", "fn_single_line=true"]) | ||
70 | .stdin(Stdio::piped()) | 71 | .stdin(Stdio::piped()) |
71 | .stdout(Stdio::piped()) | 72 | .stdout(Stdio::piped()) |
72 | .spawn()?; | 73 | .spawn()?; |