1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

group imports

This commit is contained in:
Rob Ede
2022-07-09 21:08:11 +01:00
parent 4b801ba222
commit a64e21ee6e
23 changed files with 66 additions and 50 deletions

View File

@ -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!"