From 1e08aae03f7cf8d7d682c88dbf92fef2f3c157a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Thu, 12 Apr 2018 17:54:21 +0200 Subject: [PATCH] correct deprecated parametric method syntax (#26789) --- doc/src/manual/types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/manual/types.md b/doc/src/manual/types.md index 1a7d849ae1a7a..3527f19f41109 100644 --- a/doc/src/manual/types.md +++ b/doc/src/manual/types.md @@ -622,8 +622,8 @@ function norm(p::Point{<:Real}) end ``` -(Equivalently, one could define `function norm{T<:Real}(p::Point{T})` or -`function norm(p::Point{T} where T<:Real)`; see [UnionAll Types](@ref).) +(Equivalently, one could define `function norm(p::Point{T} where T<:Real)` or +`function norm(p::Point{T}) where T<:Real`; see [UnionAll Types](@ref).) More examples will be discussed later in [Methods](@ref).