Refactor functions that don't need to return a result #282
Labels
effort: medium
Default level of effort.
priority: 1
We will do our best to deal with this.
type: chore
A maintenance-related change.
Milestone
What is the feature you would like to see?
Previously, all public methods were required to return a Result type with Vec as the error type. This is now optional. Specifically, if a method is "infallible" (i.e., it cannot produce an error), it does not need to return a Result type.
I'm sure we have places where we didn't need to wrap our response in
Result
, but we did because it was the only way.Contribution Guidelines
The text was updated successfully, but these errors were encountered: