-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses CtapResult instead of explicit Result (#696)
Generated with ``` find . -type f -name "*.rs" -exec sed -i 's/Result<\([^,]*\), Ctap2StatusCode>/CtapResult<\1>/g' {} \; cd libraries/opensk find . -type f -name "*.rs" -exec grep -q 'CtapResult' {} \; -exec sed -i '15 i\ use crate::ctap::status_code::CtapResult; ' {} + ``` Then we fix the last few compiler errors and run `cargo fmt`. Next step is to move away from custom error types in the API to only use CtapResult everywhere.
- Loading branch information
1 parent
d624558
commit 4c23e61
Showing
13 changed files
with
182 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.