Skip to content

Commit

Permalink
book: “non-linear” should be “non-constant” (changkun#241)
Browse files Browse the repository at this point in the history
There is no notion of linearity in this book. However, the context
makes it clear that non-constant values are meant.
  • Loading branch information
meisterluk authored Jul 12, 2022
1 parent cfda522 commit 4dfd34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/en-us/03-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ int main() {
}
```

The first question, why not allow non-linear references to bind to non-lvalues?
The first question, why not allow non-constant references to bind to non-lvalues?
This is because there is a logic error in this approach:

```cpp
Expand Down

0 comments on commit 4dfd34e

Please sign in to comment.