I don’t understand the “serde2” issue. Isn’t “someusername/serde” strictly worse than “serde2”?
GitHub being the only auth provider is something the maintainers wanted to fix, but didn’t have enough bandwidth to implement. I think they would welcome contributions!
If all you do in the Err(e) => ...
match arm is returning the error, then you absolutely should use the ?
operator instead.
If the match arm also converts the error type into another error type, implement the From
trait for the conversion, then you can use ?
as well.
I can't remember ever needing more than two question marks (??
), and even that is very rare in my experience.
It gives you more type safety, because you use a ProxyᐸFooᐳ
instead of just usize
.
Thanks!
Piping in a shell script should be doable, it just hasn’t been requested yet.