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 {