Skip to content

Commit 5bca5f7

Browse files
committed
manual: fix one more nit.
1 parent 588d97d commit 5bca5f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ A special kind of function can be declared with a `!` character where the
10301030
output slot type would normally be. For example:
10311031

10321032
~~~~
1033-
fn my_err(s: ~str) -> ! {
1033+
fn my_err(s: &str) -> ! {
10341034
log(info, s);
10351035
fail;
10361036
}

0 commit comments

Comments
 (0)