X-Git-Url: http://git.scottworley.com/voter/blobdiff_plain/3a28e7710ce3acd2817d40b65bcc313171adf41e..9543206967816cd9427588a2c29468fff133a65e:/src/main.rs?ds=inline diff --git a/src/main.rs b/src/main.rs index 4c09c10..5c4ad90 100644 --- a/src/main.rs +++ b/src/main.rs @@ -81,8 +81,28 @@ const HTML_HEADER: &str = " Vote! + "; @@ -99,7 +119,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}