Doubt about function in Julia

Hello guys, I’m studying Julia and I had a doubt in the following module of SearchLight.jl.

module Serializer

import SearchLight

function serialize end

function deserialize end

function serializables end # return Vector{Symbol}



How the following function syntax works: function func_name end

It declares a generic function but defines no methods for it:

julia> function foo end
foo (generic function with 0 methods)

Typically, the only reason to do this is to attach a documentation string to the function (rather than to any particular method). I don’t see why they did it in SearchLight.jl (where the functions have no docstrings), except maybe as a form of code documentation or as a placeholder for them to add docstrings later.