Skip to content

Commit 53f8243

Browse files
Apply suggestions from code review
Co-authored-by: Tatsuya Kawano <tatsuya@hibaridb.org>
1 parent 004d232 commit 53f8243

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rust-2021/reserving-syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
- 主に影響を受けるのはマクロです。例えば、`quote!{ #a#b }` と書くことはできなくなりました。
2525
- キーワードが特別扱いされることもないので、例えば `match"..." {}` と書くこともできなくなりました。
2626
- 識別子と後続の `#`, `"`, `'` の間に空白文字を挿入することで、エラーを回避できます。
27-
- エディション移行ツール<!--訳注: Edition migrations と言った場合にはツールのことを指しますかね?-->、必要な場所に空白を挿入してくれます。
27+
- エディション移行ツールは、必要な場所に空白を挿入してくれます。
2828

2929
<!--
3030
## Details
@@ -52,7 +52,7 @@ or for permanent syntax if appropriate.
5252
-->
5353

5454
これにより、将来エディションをまたくごとなく構文を拡張できるようになります。
55-
この構文は次のエディションまでの一時的なものになるかもしれませんし、必要に応じて恒久的なものになるかもしれません
55+
これを、次のエディションまでの一時的な構文のために使ったり、もし適切なら、恒久的な構文のために使ったりするでしょう
5656

5757
<!--
5858
Without an edition, this would be a breaking change, since macros can currently
@@ -131,7 +131,7 @@ committed to any of them yet):
131131
As a part of the 2021 edition a migration lint, `rust_2021_prefixes_incompatible_syntax`, has been added in order to aid in automatic migration of Rust 2018 codebases to Rust 2021.
132132
-->
133133

134-
Rust 2018 から Rust 2021 への自動移行の支援のため、2021 エディションには、移行用のリント`rust_2021_prefixes_incompatible_syntax` が追加されています。
134+
Rust 2018 のコードベースから Rust 2021 への自動移行の支援のため、2021 エディションには、移行用のリント`rust_2021_prefixes_incompatible_syntax` が追加されています。
135135

136136
<!--
137137
In order to have `rustfix` migrate your code to be Rust 2021 Edition compatible, run:

0 commit comments

Comments
 (0)