From e1663f3df044f0e808af621e391c6da7f954f107 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Fri, 1 May 2020 08:50:44 +0100 Subject: [PATCH] Fix malformed doc comments --- .../resources/assets/computercraft/lua/rom/apis/rednet.lua | 4 ++-- src/test/resources/test-rom/mcfly.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/assets/computercraft/lua/rom/apis/rednet.lua b/src/main/resources/assets/computercraft/lua/rom/apis/rednet.lua index 358c62bd5..3a8f3a5c0 100644 --- a/src/main/resources/assets/computercraft/lua/rom/apis/rednet.lua +++ b/src/main/resources/assets/computercraft/lua/rom/apis/rednet.lua @@ -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) diff --git a/src/test/resources/test-rom/mcfly.lua b/src/test/resources/test-rom/mcfly.lua index 81e5afb3c..5081447a6 100644 --- a/src/test/resources/test-rom/mcfly.lua +++ b/src/test/resources/test-rom/mcfly.lua @@ -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