3 ms·
GP's code will return Result<_, Bar>, the original code we are trying to fix just returns Bar.
by veber-alex 4y ago
GP's code will return Result<_, Bar>, the original code we are trying to fix just returns Bar.
- loeg 4y agoIf you are writing code to handle Results, it’s going to be a lot less painful to just return Result.