mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
cleanup and cargo fmt
This commit is contained in:
@ -6,7 +6,9 @@ extern crate tera;
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
use actix_web::{error, http, middleware, server, App, Error, HttpResponse, Query, State};
|
||||
use actix_web::{
|
||||
error, http, middleware, server, App, Error, HttpResponse, Query, State,
|
||||
};
|
||||
|
||||
struct AppState {
|
||||
template: tera::Tera, // <- store tera template in application state
|
||||
|
Reference in New Issue
Block a user