mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
update deps
This commit is contained in:
@ -17,7 +17,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.configure(app_config)
|
||||
})
|
||||
.bind("127.0.0.1:8080")?
|
||||
.start()
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
||||
@ -142,9 +142,7 @@ mod tests {
|
||||
foo: "bar".to_string(),
|
||||
})
|
||||
.to_http_request();
|
||||
let data = state
|
||||
.app_data::<actix_web::web::Data<AppState>>()
|
||||
.unwrap();
|
||||
let data = state.app_data::<actix_web::web::Data<AppState>>().unwrap();
|
||||
let params = Form(MyParams {
|
||||
name: "John".to_string(),
|
||||
});
|
||||
|
Reference in New Issue
Block a user