| ... | ... | @@ -118,7 +118,7 @@ pub const Error = error{ |
| 118 | 118 | /// |
| 119 | 119 | /// It is not possible to precisely deallocate the memory allocated by this function. |
| 120 | 120 | /// An `ArenaAllocator` is recommended to prevent memory leaks. |
| 121 | | pub fn parse(comptime Args: type, arena: Allocator, options: Options) Error!Args { |
| 121 | pub fn parse(comptime Args: type, arena: Allocator, options: Options) (Error || ArgIterator.InitError)!Args { |
| 122 | 122 | var iter: ArgIterator = try .initWithAllocator(arena); |
| 123 | 123 | // Do not call iter.deinit(). It holds the string data returned in the Args. |
| 124 | 124 | |