diff --git a/doc/src/manual/methods.md b/doc/src/manual/methods.md index 602c4516690cf..89f9be82bf159 100644 --- a/doc/src/manual/methods.md +++ b/doc/src/manual/methods.md @@ -547,7 +547,8 @@ function getindex(A::AbstractArray{T,N}, indexes::Vararg{Number,N}) where {T,N} would be called only when the number of `indexes` matches the dimensionality of the array. -When only the type of supplied arguments needs to be constrained `Vararg{T}` can be equivalently written as `T...`. For instance `f(x::Int...) = x` is a shorthand for `f(x::Vararg{Int}) = x`. +When only the type of supplied arguments needs to be constrained `Vararg{T}` can be equivalently +written as `T...`. For instance `f(x::Int...) = x` is a shorthand for `f(x::Vararg{Int}) = x`. ## Note on Optional and keyword Arguments