manual: fix one more nit.
This commit is contained in:
parent
588d97d80e
commit
5bca5f7c54
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue