diff --git a/format/desktop_entry/error.ha b/format/desktop_entry/error.ha index 99f63f1..ff00992 100644 --- a/format/desktop_entry/error.ha +++ b/format/desktop_entry/error.ha @@ -24,7 +24,8 @@ export type invalid_ascii = !void; // Returned when an invalid escape sequence was enctountered while parsing. export type invalid_escape = !void; -// Converts a desktop entry [[error]] into a user-friendly string. +// Returns a user-friendly representation of [[error]]. The result may be +// statically allocated. export fn strerror(err: error) str = match (err) { case invalid_group_header => yield "invalid group header"; case invalid_entry => yield "invalid entry";