From 5bca5f7c5474083aeddca1d5c405ff08ec8322f4 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 11 Oct 2012 19:39:21 -0700 Subject: [PATCH] manual: fix one more nit. --- doc/rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/rust.md b/doc/rust.md index b64bb7eb5f9..c26e2dfb906 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -1030,7 +1030,7 @@ A special kind of function can be declared with a `!` character where the output slot type would normally be. For example: ~~~~ -fn my_err(s: ~str) -> ! { +fn my_err(s: &str) -> ! { log(info, s); fail; }