X-Git-Url: http://git.scottworley.com/voter/blobdiff_plain/3a28e7710ce3acd2817d40b65bcc313171adf41e..f724d95fdf704f2480581d7de85f0198a5c049e8:/src/main.rs diff --git a/src/main.rs b/src/main.rs index 4c09c10..920384e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -81,8 +81,40 @@ const HTML_HEADER: &str = " Vote! + "; @@ -99,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}