diff --git a/src/paths.md b/src/paths.md
index cb6b24aa0..9efbda701 100644
--- a/src/paths.md
+++ b/src/paths.md
@@ -125,7 +125,7 @@ S::f(); // Calls the inherent impl.
> `::`? _TypePathSegment_ (`::` _TypePathSegment_)\*
>
> _TypePathSegment_ :\
-> _PathIdentSegment_ `::`? ([_GenericArgs_] | _TypePathFn_)?
+> _PathIdentSegment_ (`::`? ([_GenericArgs_] | _TypePathFn_))?
>
> _TypePathFn_ :\
> `(` _TypePathFnInputs_? `)` (`->` [_Type_])?