File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -289,19 +289,6 @@ generate code to create a vector containing the specified elements.
289289
290290任意の型のあらゆる数の引数を取り、指定した要素を含むベクタを生成するコードを生成できるマクロを定義しました。
291291
292- <!--
293- There are some strange edge cases with `macro_rules!`. In the future, Rust will
294- have a second kind of declarative macro that will work in a similar fashion but
295- fix some of these edge cases. After that update, `macro_rules!` will be
296- effectively deprecated. With this in mind, as well as the fact that most Rust
297- programmers will *use* macros more than *write* macros, we won’t discuss
298- `macro_rules!` any further.
299- -->
300- ` macro_rules! ` には、いくつかの奇妙なコーナーケースがあります。
301- 将来、Rustには別種の宣言的マクロが登場する予定です。これは、同じように働くけれども、それらのコーナーケースのうちいくらかを修正します。
302- そのアップデート以降、` macro_rules! ` は事実上非推奨 (deprecated) となる予定です。
303- この事実と、ほとんどのRustプログラマーはマクロを* 書く* よりも* 使う* ことが多いということを考えて、` macro_rules! ` についてはこれ以上語らないことにします。
304-
305292<!--
306293To learn more about how to write macros, consult the online documentation or
307294other resources, such as [“The Little Book of Rust Macros”][tlborm] started by
You can’t perform that action at this time.
0 commit comments