Skip to content

Commit b42c559

Browse files
committed
Remove bottom from the reference
Fixes rust-lang#20172
1 parent 012e964 commit b42c559

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/doc/reference.md

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

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

0 commit comments

Comments
 (0)