From 2ed60fa0f358d637ae55de1f10a0039bee2be6c0 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@clevo" Date: Fri, 2 Dec 2022 11:23:37 +0100 Subject: [PATCH] Minor change --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0a39267..d6841e8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,10 +2,10 @@ use vtapi::ApiClient; #[tokio::main] async fn main() { - let client = ApiClient::new(); + let api_client = ApiClient::new(); - let res = client.get_ip("8.8.8.8").await; + let res = api_client.get_ip("8.8.8.8").await; println!("{:#?}", res); - let res = client.get_url("debian.org").await; + let res = api_client.get_url("debian.org").await; println!("{:#?}", res); }