mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-11 18:00:29 +00:00
Fix malformed doc comments
This commit is contained in:
parent
447c3ab125
commit
e1663f3df0
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user