From b4caf4a98b4b6b5b12e01d34c06c97df1fa7e9f8 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 2 Feb 2021 06:43:23 +0100 Subject: [PATCH] format imports --- src/main.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/main.rs b/src/main.rs index dfaaf79..0d3211b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,14 +1,11 @@ use std::{ fs::File, io::{self, BufReader, BufWriter}, + path::PathBuf, + time::Duration, }; -use std::{path::PathBuf, time::Duration}; use clap::Clap; - -use tokio::time::sleep; -use url::Url; - use matrix_sdk::{ self, async_trait, events::{ @@ -20,10 +17,10 @@ use matrix_sdk::{ }, Client, ClientConfig, EventEmitter, RoomState, Session, SyncSettings, }; - use serde::Deserialize; - use thiserror::Error; +use tokio::time::sleep; +use url::Url; struct AutoJoinBot { client: Client,