From 97b81eeba73dc00470294a779939d8cdae82179f Mon Sep 17 00:00:00 2001 From: Joakim Soderlund Date: Wed, 24 Jul 2019 14:38:41 +0000 Subject: [PATCH] Set max width to 79 in RustFmt --- .rustfmt.toml | 1 + src/story.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .rustfmt.toml diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..a1ffd27 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1 @@ +max_width = 79 diff --git a/src/story.rs b/src/story.rs index 5eeae5f..2eaf17d 100644 --- a/src/story.rs +++ b/src/story.rs @@ -213,7 +213,8 @@ impl<'de> Deserialize<'de> for Color { } impl CompletionStatus { - const FIELDS: &'static [&'static str] = &["cancelled", "complete", "hiatus", "incomplete"]; + const FIELDS: &'static [&'static str] = + &["cancelled", "complete", "hiatus", "incomplete"]; } impl<'de> Deserialize<'de> for CompletionStatus {