mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Corrects order of identifier and type in arguments list in 7.3.3 Constraints example. Fixes #1613
This commit is contained in:
parent
a88c0847c2
commit
c42b52b3fd
@ -2750,7 +2750,7 @@ A _constraint_ is a predicate applied to specific slots.
|
||||
For example, consider the following code:
|
||||
|
||||
~~~~~~~~
|
||||
pure fn is_less_than(int a, int b) -> bool {
|
||||
pure fn is_less_than(a: int, b: int) -> bool {
|
||||
ret a < b;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user