mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-26 06:57:43 +02:00
Use immutable reference of service state. Update awc dns resolver. (#1905)
This commit is contained in:
@ -21,7 +21,7 @@ use actix_rt::System;
|
||||
use awc::Client;
|
||||
|
||||
fn main() {
|
||||
System::new("test").block_on(async {
|
||||
System::new().block_on(async {
|
||||
let client = Client::default();
|
||||
|
||||
let res = client
|
||||
|
Reference in New Issue
Block a user