mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
chore: fmt
This commit is contained in:
@ -4,9 +4,9 @@ mod model;
|
||||
#[cfg(test)]
|
||||
mod test;
|
||||
|
||||
use actix_web::{get, post, web, App, HttpResponse, HttpServer};
|
||||
use actix_web::{App, HttpResponse, HttpServer, get, post, web};
|
||||
use model::User;
|
||||
use mongodb::{bson::doc, options::IndexOptions, Client, Collection, IndexModel};
|
||||
use mongodb::{Client, Collection, IndexModel, bson::doc, options::IndexOptions};
|
||||
|
||||
const DB_NAME: &str = "myApp";
|
||||
const COLL_NAME: &str = "users";
|
||||
|
@ -1,5 +1,5 @@
|
||||
use actix_web::{
|
||||
test::{call_and_read_body, call_and_read_body_json, init_service, TestRequest},
|
||||
test::{TestRequest, call_and_read_body, call_and_read_body_json, init_service},
|
||||
web::Bytes,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user