sbahn icon indicating copy to clipboard operation
sbahn copied to clipboard

Remove `Future<Result<...>, ()>`

Open seppo0010 opened this issue 9 years ago • 0 comments

Future has an OK value and an Error value, returning a Result in a Future smells wrong. I think you should use and_then instead of map when the operation may fail?

seppo0010 avatar Jan 20 '16 04:01 seppo0010