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

uefi: Implement Borrow/ToOwned for CString16/CStr16 #695

Merged
merged 1 commit into from Mar 12, 2023

Conversation

nicholasbishop
Copy link
Contributor

CString16 can be borrowed as &CStr16, and CStr16 can be converted to CString16 with to_owned().

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

`CString16` can be borrowed as `&CStr16`, and `CStr16` can be converted to
`CString16` with `to_owned()`.
@phip1611 phip1611 merged commit b75262f into rust-osdev:main Mar 12, 2023
11 checks passed
@nicholasbishop nicholasbishop deleted the bishop-cstr-own-borrow branch March 26, 2023 04:30
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.

None yet

2 participants