More generally if you need to know what syntax does the REPL help mode can be a good starting (and maybe end!) point:
help?> ->
search: ->
x -> y
Create an anonymous function mapping argument(s) x to the function body y.
julia> f = x -> x^2 + 2x - 1
#1 (generic function with 1 method)
julia> f(2)
7