diff --git a/nselib/bit.luadoc b/nselib/bit.luadoc
index 0c2ac624a..996605445 100644
--- a/nselib/bit.luadoc
+++ b/nselib/bit.luadoc
@@ -23,10 +23,6 @@
module "bit"
---- Cast a to an internal integer type.
--- @param a Number.
-function cast(a)
-
--- Returns the one's complement of a.
-- @param a Number.
-- @return The one's complement of a.