Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Oct 16, 2022
1 parent 7fd6e17 commit 8a22559
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions databases/diesel/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
extern crate diesel;

use actix_web::{get, middleware, post, web, App, Error, HttpResponse, HttpServer};
use diesel::prelude::*;
use diesel::r2d2::{self, ConnectionManager};
use diesel::{
prelude::*,
r2d2::{self, ConnectionManager},
};
use uuid::Uuid;

mod actions;
Expand Down Expand Up @@ -88,9 +90,10 @@ async fn main() -> std::io::Result<()> {

#[cfg(test)]
mod tests {
use super::*;
use actix_web::test;

use super::*;

#[actix_web::test]
async fn user_routes() {
std::env::set_var("RUST_LOG", "actix_web=debug");
Expand Down

0 comments on commit 8a22559

Please sign in to comment.