Browse Source

fix some doc comments

Laytan Laats 11 months ago
parent
commit
195259e88b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      core/encoding/entity/generated.odin
  2. 1 1
      core/sys/posix/time.odin

+ 1 - 1
core/encoding/entity/generated.odin

@@ -42,7 +42,7 @@ XML_NAME_TO_RUNE_MAX_LENGTH :: 31
 	Input:
 	Input:
 		entity_name - a string, like "copy" that describes a user-encoded Unicode entity as used in XML.
 		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.
 		"decoded" - The decoded rune if found by name, or -1 otherwise.
 		"ok"      - true if found, false if not.
 		"ok"      - true if found, false if not.
 
 

+ 1 - 1
core/sys/posix/time.odin

@@ -13,7 +13,7 @@ when ODIN_OS == .Darwin {
 
 
 foreign lib {
 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 ]]
 	[[ More; https://pubs.opengroup.org/onlinepubs/9699919799/functions/asctime_r.html ]]
 	*/
 	*/