aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-09-02 20:10:11 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-09-02 20:10:11 +0200
commit195259e88b2ada2b799678a7fef8f224de4a6fd4 (patch)
tree8d5005312bc531aa66c12c88556f9e7451dcc4ac /core
parent16c5c69a4079652e930d897823446b7e7a65bd2f (diff)
fix some doc comments
Diffstat (limited to 'core')
-rw-r--r--core/encoding/entity/generated.odin2
-rw-r--r--core/sys/posix/time.odin2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/encoding/entity/generated.odin b/core/encoding/entity/generated.odin
index 0c4742149..52027ae03 100644
--- a/core/encoding/entity/generated.odin
+++ b/core/encoding/entity/generated.odin
@@ -42,7 +42,7 @@ XML_NAME_TO_RUNE_MAX_LENGTH :: 31
Input:
entity_name - a string, like "copy" that describes a user-encoded Unicode entity as used in XML.
- Output:
+ Returns:
"decoded" - The decoded rune if found by name, or -1 otherwise.
"ok" - true if found, false if not.
diff --git a/core/sys/posix/time.odin b/core/sys/posix/time.odin
index 9b91c9558..5c6ebcf2f 100644
--- a/core/sys/posix/time.odin
+++ b/core/sys/posix/time.odin
@@ -13,7 +13,7 @@ when ODIN_OS == .Darwin {
foreign lib {
/*
- Convert the broken down time in the structure to a string form: Sun Sep 16 01:03:52 1973\n\0
+ Convert the broken down time in the structure to a string form: Sun Sep 16 01:03:52 1973.
[[ More; https://pubs.opengroup.org/onlinepubs/9699919799/functions/asctime_r.html ]]
*/