diff options
| author | Jomar Milan <jomarm@jomarm.com> | 2026-05-30 23:06:35 -0700 |
|---|---|---|
| committer | Jomar Milan <jomarm@jomarm.com> | 2026-05-30 23:06:35 -0700 |
| commit | 90d97e089d3b56e0e9efde3693f106d035bb88e8 (patch) | |
| tree | e7e68fa9559d5da1e55338991bd293cb36ccbf5e /src/template.rs | |
| parent | 21be142ed526c5ec88c14c3ea6cad043a075a2b9 (diff) | |
Add route to accept player hand updates
Diffstat (limited to 'src/template.rs')
| -rw-r--r-- | src/template.rs | 10 |
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, +} |
