Skip to content

Commit c0d111a

Browse files
authored
Merge pull request #966 from Havvy/turbofish
Turbofish: Explain what the example is of.
2 parents 361367c + c28dfe4 commit c0d111a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/glossary.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ let vec = [1, 2, 3].iter().map(|n| n * 2).collect::<Vec<_>>();
248248
```
249249

250250
This `::` prefix is required to disambiguate generic paths with multiple comparisons in a comma-separate list.
251-
See [the bastion of the turbofish][turbofish test] for an example.
251+
See [the bastion of the turbofish][turbofish test] for an example where not having the prefix would be ambiguous.
252252

253253
### Uncovered type
254254

0 commit comments

Comments
 (0)