Skip to content

macros: allow to create empty cstr8/16 slices #786

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

Merged
merged 1 commit into from
May 2, 2023

Conversation

phip1611
Copy link
Member

@phip1611 phip1611 commented May 2, 2023

Allow to use cstr8!(), cstr8!(""), cstr16!(), and cstr16!("") to create empty strings. I need this for #771 .

Checklist

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

@phip1611 phip1611 force-pushed the macro-cstr16-empty branch 2 times, most recently from 6c45165 to 841d624 Compare May 2, 2023 13:35
@phip1611 phip1611 force-pushed the macro-cstr16-empty branch from 841d624 to a967781 Compare May 2, 2023 17:01
@nicholasbishop nicholasbishop merged commit bfa0f01 into rust-osdev:main May 2, 2023
@phip1611 phip1611 deleted the macro-cstr16-empty branch May 25, 2023 09:42
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