diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-10 08:43:12 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-10 08:43:12 -0800 |
| commit | 3161cb096f2e966a7d907afd69c175dab9eb55ed (patch) | |
| tree | e42f697d621b09dd03689874eee6ca4c46ec6e98 /src/doc/reference.md | |
| parent | e630ed69836c5cff1d3e4cde4654c54abdc438bc (diff) | |
| parent | b42c559e9f0162e9770631e86fb21995d60d0d09 (diff) | |
| download | rust-3161cb096f2e966a7d907afd69c175dab9eb55ed.tar.gz rust-3161cb096f2e966a7d907afd69c175dab9eb55ed.zip | |
rollup merge of #22130: steveklabnik/gh20172
Fixes #20172
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 1b1913ea65e..d50c0d6582b 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1255,9 +1255,7 @@ fn my_err(s: &str) -> ! { We call such functions "diverging" because they never return a value to the caller. Every control path in a diverging function must end with a `panic!()` or a call to another diverging function on every control path. The `!` annotation -does *not* denote a type. Rather, the result type of a diverging function is a -special type called ⊥ ("bottom") that unifies with any type. Rust has no -syntax for ⊥. +does *not* denote a type. It might be necessary to declare a diverging function because as mentioned previously, the typechecker checks that every control path in a function ends |
