Skip to content

Commit f0348fc

Browse files
committed
Rollup merge of rust-lang#22130 - steveklabnik:gh20172, r=alexcrichton
Fixes rust-lang#20172
2 parents 84214d1 + b42c559 commit f0348fc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/doc/reference.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1255,9 +1255,7 @@ fn my_err(s: &str) -> ! {
12551255
We call such functions "diverging" because they never return a value to the
12561256
caller. Every control path in a diverging function must end with a `panic!()` or
12571257
a call to another diverging function on every control path. The `!` annotation
1258-
does *not* denote a type. Rather, the result type of a diverging function is a
1259-
special type called ⊥ ("bottom") that unifies with any type. Rust has no
1260-
syntax for ⊥.
1258+
does *not* denote a type.
12611259

12621260
It might be necessary to declare a diverging function because as mentioned
12631261
previously, the typechecker checks that every control path in a function ends

0 commit comments

Comments
 (0)