mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Fix some typos in the documentation.
And some minor clean-ups. There should be no semantic changes to the documentation in this patch.
This commit is contained in:
1 parent
6f7e9dfa26
commit
e9fdc38300
19 files changed
+39
-41
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ Impure functions are marked with a `!` at their definition and at call sites.
|
||||
Coroutines are similarly marked, with a `?`. Pure functions have no mark.
|
||||
|
||||
For those used to C/C++ syntax, in Wuffs, the unary not operator is spelled
|
||||
`not` instead of `!`, and Wuffs has no ternary operator like C/C++'s `?`.
|
||||
`not` instead of `!`, and Wuffs has no ternary operator like C/C++'s `?:`.
|
||||
|
||||
Sub-expressions in Wuffs must be pure. Only the outermost function call can
|
||||
have a `!` or `?` mark. You can't write:
|
||||
|
||||
Reference in new issue
Block a user