From c57c23e6522950f55301b55d09188d1c176b2281 Mon Sep 17 00:00:00 2001 From: Arno Strouwen Date: Wed, 18 Dec 2024 22:54:53 +0100 Subject: [PATCH] missing julia-repl in destructuring docs --- doc/src/manual/functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/manual/functions.md b/doc/src/manual/functions.md index be81fe529ef7d..10a52fad2fc33 100644 --- a/doc/src/manual/functions.md +++ b/doc/src/manual/functions.md @@ -616,7 +616,7 @@ julia> foo(A(3, 4)) For anonymous functions, destructuring a single argument requires an extra comma: -``` +```julia-repl julia> map(((x, y),) -> x + y, [(1, 2), (3, 4)]) 2-element Array{Int64,1}: 3