about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2020-05-11 07:56:48 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2020-05-11 23:52:00 +0200
commitadb56d92f63ce527d74ed12d98c14729c6b5767e (patch)
treef06ffcd8c9f01cacb4ebc1dcd018e38427f795f6 /src/doc/rustc-dev-guide
parent050fc9c2cd0cbe34c7d0c9e05ae692c76b9ff7b4 (diff)
downloadrust-adb56d92f63ce527d74ed12d98c14729c6b5767e.tar.gz
rust-adb56d92f63ce527d74ed12d98c14729c6b5767e.zip
Update src/appendix/glossary.md
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/appendix/glossary.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/appendix/glossary.md b/src/doc/rustc-dev-guide/src/appendix/glossary.md
index b89050034c2..d7cf30b913c 100644
--- a/src/doc/rustc-dev-guide/src/appendix/glossary.md
+++ b/src/doc/rustc-dev-guide/src/appendix/glossary.md
@@ -63,7 +63,7 @@ rib <div id="rib"/>                      |  A data structure in the name resolve
 sess <div id="sess"/>                    |  The compiler session, which stores global data used throughout compilation
 side tables <div id="side-tables"/>      |  Because the AST and HIR are immutable once created, we often carry extra information about them in the form of hashtables, indexed by the id of a particular node.
 sigil <div id="sigil"/>                  |  Like a keyword but composed entirely of non-alphanumeric tokens. For example, `&` is a sigil for references.
-soundness <div id="soundness"/>          |  A technical term in type theory. Roughly, if a type system is sound and a program type-checks, it is type-safe. That is, one can never (in safe rust) force a value into a variable of the wrong type. (see "completeness").
+soundness <div id="soundness"/>          |  A technical term in type theory. Roughly, if a type system is sound, then a program that type-checks is type-safe. That is, one can never (in safe rust) force a value into a variable of the wrong type. (see "completeness").
 span <div id="span"/>                    |  A location in the user's source code, used for error reporting primarily. These are like a file-name/line-number/column tuple on steroids: they carry a start/end point, and also track macro expansions and compiler desugaring. All while being packed into a few bytes (really, it's an index into a table). See the Span datatype for more.
 substs <div id="substs"/>                |  The substitutions for a given generic type or item (e.g. the `i32`, `u32` in `HashMap<i32, u32>`).
 tcx <div id="tcx"/>                      |  The "typing context", main data structure of the compiler. ([see more](../ty.html))