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

Skip Rust's escaping in the enum_def macro (#793) #794

Closed
wants to merge 2 commits into from

Conversation

RichardWGNR
Copy link

@RichardWGNR RichardWGNR commented Jul 13, 2024

PR Info

  • Dependencies: no
  • Dependents: no

New Features

No

Bug Fixes

Yes. Please see the #793 issue

Breaking Changes

No

Changes

No

RichardWGNR

This comment was marked as duplicate.

Copy link
Author

Choose a reason for hiding this comment

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

I could reduce the number of allocations, but that's not the point here.

Comment on lines +67 to +69
if inner.starts_with("r#") {
inner = (&inner[2..]).to_string();
}
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a IdentExt::unraw helper which does exactly this

Copy link

Choose a reason for hiding this comment

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

hi, how to use IdentExt::unraw ?

@tyt2y3
Copy link
Member

tyt2y3 commented Oct 5, 2024

sea-query-attr is now deprecated. can you open a new PR for sea-query-derive?

@tyt2y3 tyt2y3 closed this Oct 5, 2024
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.

[BUG] Enum_def macro errror
4 participants