X-Git-Url: http://git.scottworley.com/voter/blobdiff_plain/f5e90a7ef19da01d7b8c856f2b336fdcb2a8ea10..f724d95fdf704f2480581d7de85f0198a5c049e8:/src/main.rs diff --git a/src/main.rs b/src/main.rs index 506c13b..920384e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,12 +75,46 @@ fn set_cookie(mut response: cgi::Response, path: &str) -> Result + + Vote! + "; @@ -97,7 +131,9 @@ fn prompt_for_vote(dir: PathBuf, request: cgi::Request) -> Result")) + rc.map(|c| { + format!("") + }) })) .chain(std::iter::once(Ok(HTML_FOOTER.to_owned()))) .collect::>()
{c}
{c}