fixed this guys garbage
This commit is contained in:
parent
9dd3265bfa
commit
c9fb5258d1
@ -2,12 +2,11 @@ use reqwest;
|
|||||||
use tokio;
|
use tokio;
|
||||||
|
|
||||||
async fn get_qs() -> reqwest::Result<Vec<String>> {
|
async fn get_qs() -> reqwest::Result<Vec<String>> {
|
||||||
let body = reqwest::get("https://stackoverflow.com/questions/tagged/python").await;
|
let body = reqwest::get("https://stackoverflow.com/questions/tagged/python")
|
||||||
if let Err(e) = body {
|
.await
|
||||||
return Err(e);
|
.unwrap();
|
||||||
}
|
|
||||||
|
|
||||||
println!("{}", body);
|
println!("{}", body.text().await.unwrap());
|
||||||
Ok(vec![])
|
Ok(vec![])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user