You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The verify function currently returns Result<bool, VerifyError>, which allows ambiguous cases like Ok(false). Consider changing the return type to Result<(), VerifyError> so:
Ok(()) indicates success.
Err(VerifyError) indicates failure.
This makes the function clearer and easier to use.
The text was updated successfully, but these errors were encountered:
The verify function currently returns
Result<bool, VerifyError>
, which allows ambiguous cases likeOk(false)
. Consider changing the return type to Result<(), VerifyError> so:Ok(())
indicates success.Err(VerifyError)
indicates failure.This makes the function clearer and easier to use.
The text was updated successfully, but these errors were encountered: