diff options
Diffstat (limited to 'azalea/examples/todo')
| -rw-r--r-- | azalea/examples/todo/craft_dig_straight_down.rs | 2 | ||||
| -rw-r--r-- | azalea/examples/todo/mine_a_chunk.rs | 2 | ||||
| -rw-r--r-- | azalea/examples/todo/pvp.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/azalea/examples/todo/craft_dig_straight_down.rs b/azalea/examples/todo/craft_dig_straight_down.rs index bf312331..951c3de2 100644 --- a/azalea/examples/todo/craft_dig_straight_down.rs +++ b/azalea/examples/todo/craft_dig_straight_down.rs @@ -8,7 +8,7 @@ struct State { pub started: Arc<Mutex<bool>>, } -#[tokio::main(flavor = "current_thread")] +#[tokio::main] async fn main() { let account = Account::offline("bot"); // or let bot = Account::microsoft("email").await; diff --git a/azalea/examples/todo/mine_a_chunk.rs b/azalea/examples/todo/mine_a_chunk.rs index eb7fafd4..0c439f26 100644 --- a/azalea/examples/todo/mine_a_chunk.rs +++ b/azalea/examples/todo/mine_a_chunk.rs @@ -1,6 +1,6 @@ use azalea::{prelude::*, swarm::prelude::*}; -#[tokio::main(flavor = "current_thread")] +#[tokio::main] async fn main() { let mut accounts = Vec::new(); let mut states = Vec::new(); diff --git a/azalea/examples/todo/pvp.rs b/azalea/examples/todo/pvp.rs index 0639d86b..d85278e8 100644 --- a/azalea/examples/todo/pvp.rs +++ b/azalea/examples/todo/pvp.rs @@ -5,7 +5,7 @@ use azalea::{ pathfinder, prelude::*, swarm::prelude::*, }; -#[tokio::main(flavor = "current_thread")] +#[tokio::main] async fn main() { let mut accounts = Vec::new(); let mut states = Vec::new(); |
