Skip to content

Commit

Permalink
Merge pull request #16 from hannobraun/bug/html-escape
Browse files Browse the repository at this point in the history
(fix) Properly escape characters in first example
  • Loading branch information
reem committed Oct 13, 2014
2 parents 7733aba + 9420ed5 commit 72259de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1>IRON</h1>
use std::io::net::ip::Ipv4Addr;
use iron::{status, Iron, Request, Response, IronResult};

fn hello_world(_: &mut Request) -> IronResult<Response> {
fn hello_world(_: &amp;mut Request) -> IronResult&lt;Response&gt; {
Ok(Response::with(status::Ok, "Hello, world"))
}

Expand Down

0 comments on commit 72259de

Please sign in to comment.