Skip to content

Conversation

@dcormier
Copy link
Contributor

Description of changes:

There are existing methods to get owned clones of various pieces of data in the Request. This adds methods to get references where owned data is not needed.

Also fixed a typo in docs, and some typos in tests.

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

@dcormier
Copy link
Contributor Author

I'm inclined to have those two methods I commented on return Option rather than panic. Thoughts?

@bnusunny
Copy link
Collaborator

Thanks for contributing. I agree returning Option is better.

@dcormier
Copy link
Contributor Author

Done.

@bnusunny
Copy link
Collaborator

Could you merge the latest main branch into this PR? It contains fixes for clippy issues and won't break the builds.

There are existing methods to get owned clones of various pieces of data
in the `Request`. This adds methods to get references where owned data
is not needed.
@dcormier
Copy link
Contributor Author

Done.

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