Skip to content

Commit 0a045cb

Browse files
authored
Merge pull request #165 from noi/fix-for-macros
Fix chapter 19 for macros
2 parents 9d5feff + 4ba94cf commit 0a045cb

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

src/ch19-00-advanced-features.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,15 @@ syntax, supertraits, and the newtype pattern in relation to traits
3434
* Advanced types: more about the newtype pattern, type aliases, the never type,
3535
and dynamically sized types
3636
* Advanced functions and closures: function pointers and returning closures
37+
* Macros: ways to define code that defines more code at compile time
3738
-->
3839

3940
* Unsafe Rust: Rustの保証の一部を抜けてその保証を手動で保持する責任を負う方法
4041
* 高度なライフタイム: 複雑なライフタイム状況の記法
4142
* 高度なトレイト: 関連型、デフォルト型引数、フルパス記法、スーパートレイト、トレイトに関連するニュータイプパターン
4243
* 高度な型: ニュータイプパターンについてもっと、型エイリアス、never型、動的サイズ決定型
4344
* 高度な関数とクロージャ: 関数ポインタとクロージャの返却
45+
* マクロ: コンパイル時に、より多くのコードを定義するコードを定義する方法
4446

4547
<!--
4648
It’s a panoply of Rust features with something for everyone! Let’s dive in!

src/ch19-05-advanced-functions-and-closures.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -239,27 +239,7 @@ Chapter 17.
239239
第17章の「トレイトオブジェクトで異なる型の値を許容する」節を参照してください。
240240

241241
<!--
242-
## Summary
242+
Next, let’s look at macros!
243243
-->
244244

245-
## まとめ
246-
247-
<!--
248-
Whew! Now you have some features of Rust in your toolbox that you won’t use
249-
often, but you’ll know they’re available in very particular circumstances.
250-
We’ve introduced several complex topics so that when you encounter them in
251-
error message suggestions or in other peoples’ code, you’ll be able to
252-
recognize these concepts and syntax. Use this chapter as a reference to guide
253-
you to solutions.
254-
-->
255-
256-
ふう!もう道具箱に頻繁には使用しないRustの機能の一部がありますが、非常に限定された状況で利用可能だと知るでしょう。
257-
エラーメッセージや他の方のコードで遭遇した際に、これらの概念や記法を認識できるように、
258-
複雑な話題をいくつか紹介しました。この章は、解決策へ導く参考文献としてご活用ください。
259-
260-
<!--
261-
Next, we’ll put everything we’ve discussed throughout the book into practice
262-
and do one more project!
263-
-->
264-
265-
次は、本を通して議論してきた全てを実践に配備し、もう1つプロジェクトを<ruby>熟<rp>(</rp><rt>こな</rt><rp>)</rp></ruby>します!
245+
次は、マクロを見てみましょう!

0 commit comments

Comments
 (0)