mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 21:34:18 +00:00
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 New Issue
Block a user