mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
group imports
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
use actix_web::{get, middleware, post, web, App, HttpResponse, HttpServer};
|
||||
use std::{sync::mpsc, thread};
|
||||
|
||||
use actix_web::{get, middleware, post, web, App, HttpResponse, HttpServer};
|
||||
|
||||
#[get("/hello")]
|
||||
async fn hello() -> &'static str {
|
||||
"Hello world!"
|
||||
|
Reference in New Issue
Block a user