Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary mut reference. #23

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

rillian
Copy link
Contributor

@rillian rillian commented Aug 3, 2022

KeyConfig::select() only creates a new HpkeConfig for matching
suites; it doesn't need to modify any internal state.

KeyConfig::select() only creates a new HpkeConfig for matching
suites; it doesn't need to modify any internal state.
Copy link
Owner

@martinthomson martinthomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why didn't clippy complain about this... Now I need to go and double check dammit.

@martinthomson martinthomson merged commit 32954fd into martinthomson:main Aug 3, 2022
@rillian rillian deleted the mut-fix branch August 3, 2022 23:31
@martinthomson
Copy link
Owner

Apparently clippy doesn't warn about this: rust-lang/rust-clippy#8863 🤷‍♂️

agokarn pushed a commit to microsoft/ohttp that referenced this pull request Oct 29, 2024
* Support multiple key ID dynamically based on client request. Implement OHTTP configuration cache

* Wait for receipt in OHTTP client

* Add local keying mode for testing without KMS. Also added MAA token caching and optional MAA header in inference response

* linter ifxes

* fix

* local testing

* formatting

* Add error handling changes again (martinthomson#24)

* Add error handling changes again

	modified:   Makefile
	modified:   cgpuvm-attest/Cargo.toml
	modified:   cgpuvm-attest/src/lib.rs
	modified:   ohttp-client/src/main.rs
	modified:   ohttp-server/src/main.rs
	modified:   ohttp/src/err.rs

Change logging

Add logging

Add logging

* minor fixes

* cleanup

---------

Co-authored-by: Kapil Vaswani <[email protected]>

* simplifcation

* defaults

---------

Co-authored-by: Antoine Delignat-Lavaud <[email protected]>
Co-authored-by: agokarn <[email protected]>

	modified:   ohttp/src/err.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants