mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-12-26 03:51:45 +00:00
adjust signature to crate specification
This commit is contained in:
parent
0e893fd2c2
commit
ef80491813
@ -13,9 +13,11 @@ pub const Q: u32 = 100;
|
||||
mod cell;
|
||||
use cell::*;
|
||||
|
||||
use reqwest::Error;
|
||||
use std::{thread, time::Duration};
|
||||
|
||||
fn main() {
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Error> {
|
||||
// Initialize grid randomly
|
||||
let mut grid = init_grid(None);
|
||||
|
||||
@ -27,4 +29,6 @@ fn main() {
|
||||
update_grid(&mut grid);
|
||||
thread::sleep(Duration::from_millis(1000 / (FPS as u64)));
|
||||
}
|
||||
|
||||
// Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user