undo rustfmt
This commit is contained in:
parent
281fc8a57f
commit
a3ae353830
18
src/mock.rs
18
src/mock.rs
|
@ -7,8 +7,13 @@ pub mod image {
|
||||||
pub fn chequers_1() -> Image {
|
pub fn chequers_1() -> Image {
|
||||||
Image {
|
Image {
|
||||||
pixels: vec![
|
pixels: vec![
|
||||||
1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1,
|
1, 0, 1, 0, 1, 0, 1, 0,
|
||||||
0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0,
|
0, 1, 0, 1, 0, 1, 0, 1,
|
||||||
|
1, 0, 1, 0, 1, 0, 1, 0,
|
||||||
|
0, 1, 0, 1, 0, 1, 0, 1,
|
||||||
|
1, 0, 1, 0, 1, 0, 1, 0,
|
||||||
|
0, 1, 0, 1, 0, 1, 0, 1,
|
||||||
|
1, 0, 1, 0, 1, 0, 1, 0,
|
||||||
0, 1, 0, 1, 0, 1, 0, 1,
|
0, 1, 0, 1, 0, 1, 0, 1,
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
@ -17,8 +22,13 @@ pub mod image {
|
||||||
pub fn chequers_2() -> Image {
|
pub fn chequers_2() -> Image {
|
||||||
Image {
|
Image {
|
||||||
pixels: vec![
|
pixels: vec![
|
||||||
0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0,
|
0, 1, 0, 1, 0, 1, 0, 1,
|
||||||
1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1,
|
1, 0, 1, 0, 1, 0, 1, 0,
|
||||||
|
0, 1, 0, 1, 0, 1, 0, 1,
|
||||||
|
1, 0, 1, 0, 1, 0, 1, 0,
|
||||||
|
0, 1, 0, 1, 0, 1, 0, 1,
|
||||||
|
1, 0, 1, 0, 1, 0, 1, 0,
|
||||||
|
0, 1, 0, 1, 0, 1, 0, 1,
|
||||||
1, 0, 1, 0, 1, 0, 1, 0,
|
1, 0, 1, 0, 1, 0, 1, 0,
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue