adjust signature to crate specification

This commit is contained in:
Baipyrus 2024-05-13 15:15:26 +02:00
parent 0e893fd2c2
commit ef80491813

View File

@ -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(())
}