X-Git-Url: http://git.scottworley.com/voter/blobdiff_plain/9e49b3f023b0f20c38098e83ec711ad07b6c976c..7717ed89ce2c276f1e2adc15bd859d6167deda98:/src/main.rs diff --git a/src/main.rs b/src/main.rs index a1ec8bc..98cfc35 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,13 +75,46 @@ fn set_cookie(mut response: cgi::Response, path: &str) -> Result + Vote! + "; @@ -98,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}