From c28dfe483375849678793dbe86c69a1953f3bb00 Mon Sep 17 00:00:00 2001 From: "Havvy (Ryan Scheel)" Date: Fri, 19 Feb 2021 23:39:24 -0800 Subject: [PATCH] Turbofish: Explain what the example is of. --- src/glossary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glossary.md b/src/glossary.md index db5a93153..f88ba2f0f 100644 --- a/src/glossary.md +++ b/src/glossary.md @@ -248,7 +248,7 @@ let vec = [1, 2, 3].iter().map(|n| n * 2).collect::>(); ``` This `::` prefix is required to disambiguate generic paths with multiple comparisons in a comma-separate list. -See [the bastion of the turbofish][turbofish test] for an example. +See [the bastion of the turbofish][turbofish test] for an example where not having the prefix would be ambiguous. ### Uncovered type