Slighty better rewording

This commit is contained in:
Guillaume Gomez
2017-06-01 10:03:43 +02:00
committed by GitHub
parent 87f8cf151e
commit 9a2e6dbf17

View File

@@ -164,9 +164,9 @@ another `Result<T, E>`, which means we can use any methods that work on
### The Never Type, `!`, that Never Returns
Rust has a special type named `!`. In type theory lingo, it's called the
*bottom type*, but we prefer the name *never*. The name describes what it does:
it stands in the place of the return type when a function will never return.
For example:
*bottom type*, but we prefer to call it the *never type*. The name describes
what it does: it stands in the place of the return type when a function will
never return. For example:
```rust,ignore
fn bar() -> ! {