1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

chore: fmt

This commit is contained in:
Rob Ede
2025-03-21 06:07:31 +00:00
parent a7527d72f3
commit 04f8cba71b
98 changed files with 828 additions and 650 deletions

View File

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

View File

@ -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,
};