Improve doc comment on format::desktop_entry::strerror
This commit is contained in:
parent
24ee999173
commit
30926c1f10
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user