Format Rust code using rustfmt

This commit is contained in:
github-actions[bot]
2020-04-18 15:58:30 +00:00
committed by GitHub
parent 9a5c4df2b1
commit cba6c16414
18 changed files with 956 additions and 394 deletions

View File

@@ -31,7 +31,10 @@ impl ToString for Position {
#[test]
fn test_position_from_string() {
assert_eq!(Position::from("4,12".to_string()).unwrap(), Position { x: 4, y: 12 });
assert_eq!(
Position::from("4,12".to_string()).unwrap(),
Position { x: 4, y: 12 }
);
}
#[test]