Skip to content

Commit 5d24aed

Browse files
authored
Merge pull request #2400 from smanilov/patch-13
Make it clear we talk about early bound params
2 parents c693842 + 731daee commit 5d24aed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/early_late_parameters.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ As mentioned previously, the distinction between early and late bound parameters
174174
- When naming a function (early)
175175
- When calling a function (late)
176176

177-
There currently is no syntax for explicitly specifying generic arguments for late bound parameters as part of the call step, only specifying generic arguments when naming a function. The syntax `foo::<'static>();`, despite being part of a function call, behaves as `(foo::<'static>)();` and instantiates the early bound generic parameters on the function item type.
177+
There is currently no syntax for explicitly specifying generic arguments for late bound parameters during the call step; generic arguments can only be specified for early bound parameters when naming a function.
178+
The syntax `foo::<'static>();`, despite being part of a function call, behaves as `(foo::<'static>)();` and instantiates the early bound generic parameters on the function item type.
178179

179180
See the following example:
180181
```rust

0 commit comments

Comments
 (0)