From f758647f8ece7b93b841b4f3d89138d280a2835c Mon Sep 17 00:00:00 2001 From: Nick Cameron <nrc@ncameron.org> Date: Mon, 9 May 2022 12:24:33 +0100 Subject: [PATCH] Add a not to the turbofish section about impl Trait Signed-off-by: Nick Cameron <nrc@ncameron.org> --- src/paths.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/paths.md b/src/paths.md index 51bd8cad5..cb6b24aa0 100644 --- a/src/paths.md +++ b/src/paths.md @@ -81,6 +81,9 @@ arguments, then const arguments, then equality constraints. Const arguments must be surrounded by braces unless they are a [literal] or a single segment path. +The synthetic type parameters corresponding to `impl Trait` types are implicit, +and these cannot be explicitly specified. + ## Qualified paths > **<sup>Syntax</sup>**\