dtolnay / paste

Macros for all your token pasting needs
Apache License 2.0
1.02k stars 56 forks source link

Support paste in arbitrary name-value attributes #57

Closed scalexm closed 3 years ago

scalexm commented 3 years ago

Fixes #56.

scalexm commented 3 years ago

Ping @dtolnay, I would like to know whether you like the idea, or if you think this is inappropriate for paste.

dtolnay commented 3 years ago

I am on board with this. The PR is marked experimental. Are you planning changes or is this ready for review?

scalexm commented 3 years ago

I’ve tested it on my side and it covers my use case, so ready for review. Cc @frol.

scalexm commented 3 years ago

I restored the previous behavior which was to have at least two tokens after the = sign.

frol commented 3 years ago

@scalexm @dtolnay Thank you!