1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-16 18:19:55 +00:00

Fix malformed doc comments

This commit is contained in:
Jonathan Coates 2020-05-01 08:50:44 +01:00
parent 447c3ab125
commit e1663f3df0
No known key found for this signature in database
GPG Key ID: D6D4CB5BFBBB5CB8
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ local tReceivedMessageTimeouts = {}
local tHostnames = {}
--- Opens a modem with the given @{peripheral} name, allowing it to send and
--- receive messages over rednet.
-- receive messages over rednet.
--
-- This will open the modem on two channels: one which has the same
-- @{os.getComputerID|ID} as the computer, and another on
@ -246,7 +246,7 @@ function host(sProtocol, sHostname)
end
--- Stop @{rednet.host|hosting} a specific protocol, meaning it will no longer
--- respond to @{rednet.lookup} requests.
-- respond to @{rednet.lookup} requests.
--
-- @tparam string sProtocol The protocol to unregister your self from.
function unhost(sProtocol)

View File

@ -47,7 +47,7 @@ local function default_stub() end
--- Stub a table entry with a new value.
--
-- @tparam table
-- @tparam table tbl The table whose field should be stubbed.
-- @tparam string key The variable to stub
-- @param[opt] value The value to stub it with. If this is a function, one can
-- use the various stub expectation methods to determine what it was called