Removed all warnings

This commit is contained in:
Evann Regnault 2022-11-30 12:17:27 +01:00
parent e127a297f7
commit a2e42f44ff
2 changed files with 1 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "drunk-venti-rust"
version = "1.0.3"
version = "1.0.4"
edition = "2021"
authors = ["Evann Regnault"]
license = "MIT"

View file

@ -51,7 +51,6 @@ impl Character {
let port = env::var("API_PORT").unwrap();
let url = format!("http://{}:{}/api/characters/{}", host, port, character);
let url = Url::parse(&*url).expect("Can't convert url");
let a = reqwest::get(url.clone()).await.expect("Can't access Url");
return reqwest::get(url).await.expect("Can't access Url").json::<Character>().await.expect("Wrong json format");
}