Format Rust code using rustfmt

This commit is contained in:
github-actions[bot]
2020-04-18 17:08:16 +00:00
committed by GitHub
parent f550c3696f
commit 1e0c129dca
2 changed files with 20 additions and 28 deletions

View File

@@ -12,9 +12,7 @@ fn main() {
.nth(2)
.expect("No output path specified. Usage: `smiley infile outfile`");
let mut game = Game::from(
fs::read_to_string(input_file).unwrap()
).unwrap();
let mut game = Game::from(fs::read_to_string(input_file).unwrap()).unwrap();
game.avatar.animation_frames = vec![Image {
pixels: vec![