1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-17 22:24:49 +00:00

os/clock docstring typos

This commit is contained in:
John W Higgins 2024-03-23 22:44:44 -07:00
parent e89ec31ae5
commit 623da131e5

View File

@ -1575,8 +1575,8 @@ JANET_CORE_FN(os_clock,
"- :cputime: Return the CPU time consumed by this process (i.e. all threads in the process)\n"
"The `format` argument selects the type of output, when not specified the default is `:double`:\n"
"- :double: Return the number of seconds + fractional seconds as a double\n"
"- :int: Return the number of seconds as am integer\n"
"- :tuple: Return a 2 integer tuple {seconds, nanoseconds}\n") {
"- :int: Return the number of seconds as an integer\n"
"- :tuple: Return a 2 integer tuple [seconds, nanoseconds]\n") {
enum JanetTimeSource source;
janet_sandbox_assert(JANET_SANDBOX_HRTIME);
janet_arity(argc, 0, 2);