Skip to content

Replace mac with matches #35

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

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Dec 15, 2019

  • 結構古いcrateでmac::matches!には_tt_as_expr_hack!という補助マクロが必要
  • matchesのほうが7倍のDL数がある
  • macのうちmatches!do_while!しか使えるものが無く、do_while!も微妙
  • matches::debug_assert_matches!が普通に使えそう

が理由です。

@qryxip qryxip force-pushed the ja-all-enabled-replace-mac-with-matches branch 2 times, most recently from 1790903 to 7100694 Compare December 16, 2019 04:51
@qryxip qryxip force-pushed the ja-all-enabled-replace-mac-with-matches branch from 7100694 to b9d9236 Compare December 16, 2019 05:14
@statiolake statiolake merged commit 66d4e3c into rust-lang-ja:ja-all-enabled Dec 16, 2019
@qryxip qryxip deleted the ja-all-enabled-replace-mac-with-matches branch December 16, 2019 14:37
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