Skip to content

Commit

Permalink
Rustfmt settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rantanen committed Oct 20, 2019
1 parent 5eaffb4 commit db11a26
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions intercom-attributes/tests/lib.rs
Expand Up @@ -146,6 +146,7 @@ fn build( cwd: &str, path : &str ) -> String {
let conf = "release";

// Launch rustc.
#[rustfmt::skip]
let output = std::process::Command::new( "rustc" )
.current_dir( cwd )
.env( "CARGO_PKG_NAME", "TestLib" )
Expand Down
1 change: 1 addition & 0 deletions intercom-common/src/guid.rs
Expand Up @@ -54,6 +54,7 @@ impl GUID {
//
// Some(_) values correspond to required characters while None values
// correspond to the hexadecimal digits themselves.
#[rustfmt::skip]
let format = match guid_format {
GuidFormat::Braces => vec![
Some( b'{' ), None, None, None, None, None, None, None, None,
Expand Down
1 change: 1 addition & 0 deletions intercom/src/guid.rs
Expand Up @@ -48,6 +48,7 @@ impl GUID {
//
// Some(_) values correspond to required characters while None values
// correspond to the hexadecimal digits themselves.
#[rustfmt::skip]
let format = match guid_format {
GuidFormat::Braces => vec![
Some( b'{' ), None, None, None, None, None, None, None, None,
Expand Down
1 change: 1 addition & 0 deletions rustfmt.toml
@@ -0,0 +1 @@
brace_style = "AlwaysNextLine"

0 comments on commit db11a26

Please sign in to comment.