ldoc: Remove unneeded @function tags

This commit is contained in:
James Reed 2019-07-04 15:39:41 -06:00
parent dbf6d7a641
commit 10a3a63ee6
No known key found for this signature in database
GPG Key ID: 8F79994F6B8378C1
1 changed files with 0 additions and 3 deletions

View File

@ -40,7 +40,6 @@ ez.util = {}
-- @param cb The callback or a table describing the callback.
-- @usage local cb = ez.util.cb_from_table({awful.spawn, "xterm"})
-- @return The callback.
-- @function util.cb_from_table
function ez.util.cb_from_table(cb)
if type(cb) == "table" and
not (getmetatable(cb) and getmetatable(cb).__call) then
@ -66,7 +65,6 @@ end
-- @param keydef The key definition string.
-- @usage local modkeys, key = ez.util.parse_key("M-<Return>")
-- @return A table of modifiers and the key.
-- @function util.parse_key
function ez.util.parse_key(keydef)
local modkeys = {}
for _, key in ipairs(split(keydef, "-")) do
@ -91,7 +89,6 @@ end
-- @param btndef The button definition string.
-- @usage local modkeys, btn = ez.util.parse_button("M-1")
-- @return A table of modifiers and the button.
-- @function util.parse_button
function ez.util.parse_button(btndef)
if type(btndef) == "number" then
return {}, btndef