about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-10-11 19:39:21 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-10-11 19:39:21 -0700
commit5bca5f7c5474083aeddca1d5c405ff08ec8322f4 (patch)
tree08dfa3799893cb63de855b2ebb2bf48170f7c409
parent588d97d80ec7a36a3a83aa40c55df1a53c74d7e3 (diff)
downloadrust-5bca5f7c5474083aeddca1d5c405ff08ec8322f4.tar.gz
rust-5bca5f7c5474083aeddca1d5c405ff08ec8322f4.zip
manual: fix one more nit.
-rw-r--r--doc/rust.md2
1 files changed, 1 insertions, 1 deletions
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;
 }