Changed LaTex $\bot$s to ⊥

In the HTML version of the documentation, it isn't rendered so might as well use the unicode representation.
Part of the problem was that putting a math unicode character wasn't
rendering properly in the pdf, so extra steps were needed to define
the unicode charecter ⊥ in reference.tex

closes #15285
This commit is contained in:
th0114nd 2014-12-18 18:27:50 -05:00 committed by Tim Holland
parent 95c2ed31ae
commit 4ee73a124c
3 changed files with 12 additions and 5 deletions

View file

@ -1259,8 +1259,8 @@ 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 $\bot$ ("bottom") that unifies with any type. Rust has no
syntax for $\bot$.
special type called ("bottom") that unifies with any type. Rust has no
syntax for .
It might be necessary to declare a diverging function because as mentioned
previously, the typechecker checks that every control path in a function ends

2
src/doc/uptack.tex Normal file
View file

@ -0,0 +1,2 @@
\usepackage{newunicodechar}
\newunicodechar{{$\bot$}}