diff options
| author | Jonathan Hansford <dangthrimble@hansfords.net> | 2015-07-30 09:20:24 +0100 |
|---|---|---|
| committer | Jonathan Hansford <dangthrimble@hansfords.net> | 2015-07-30 09:20:24 +0100 |
| commit | a4aae4552ed15d15683b4f24a02cd31025f9b27e (patch) | |
| tree | 4c0ea67a0e0663dff6e45c1e36d7e0994621fec8 | |
| parent | bc3c41be9f70f7c289886563974714c9c15429a7 (diff) | |
| parent | 8fee56777c2b88509e81e5e71773e1b588fee614 (diff) | |
| download | rust-a4aae4552ed15d15683b4f24a02cd31025f9b27e.tar.gz rust-a4aae4552ed15d15683b4f24a02cd31025f9b27e.zip | |
Merge branch 'master' of https://github.com/Dangthrimble/rust
| -rw-r--r-- | src/doc/trpl/glossary.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/glossary.md b/src/doc/trpl/glossary.md index 46d87e51f0d..307aef80180 100644 --- a/src/doc/trpl/glossary.md +++ b/src/doc/trpl/glossary.md @@ -48,12 +48,12 @@ expression might perform actions other than simply returning a value. ### Expression-Oriented Language -In early programming languages [expressions][expression] and +In early programming languages, [expressions][expression] and [statements][statement] were two separate syntactic categories: expressions had a value and statements did things. However, later languages blurred this distinction, allowing expressions to do things and statements to have a value. In an expression-oriented language, (nearly) every statement is an expression -and therefore returns a value. Consequently these expression statements can +and therefore returns a value. Consequently, these expression statements can themselves form part of larger expressions. [expression]: glossary.html#expression |
