|
|
|
|
|
by eru
25 days ago
|
|
> [...] because the success type and error type are the same. That's a bit weird? In Rust, if you have an thing that returns Result<String, String> that's still type safe, even though success and error types are the same. I think I understand what you want to express, maybe. You might say it's in-band vs out-of-band error signalling? |
|
These types are not the same: