summaryrefslogtreecommitdiff
path: root/src/template.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/template.rs')
-rw-r--r--src/template.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/template.rs b/src/template.rs
index c02a3df..5424883 100644
--- a/src/template.rs
+++ b/src/template.rs
@@ -1,15 +1,15 @@
-use std::collections::HashMap;
-use askama::Template;
use crate::session::Session;
+use askama::Template;
+use std::collections::HashMap;
#[derive(Template)]
#[template(path = "index.html")]
pub struct IndexTemplate<'a> {
- pub sessions: &'a HashMap<String, Session>
+ pub sessions: &'a HashMap<String, Session>,
}
#[derive(Template)]
#[template(path = "session.html")]
pub struct SessionTemplate<'a> {
- pub session: &'a Session
-} \ No newline at end of file
+ pub session: &'a Session,
+}