-
Notifications
You must be signed in to change notification settings - Fork 72
8. Syntax Index #130
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
8. Syntax Index #130
Conversation
@tatsuya6502 |
* `extern`: 外部クレート、関数、変数のリンク。 [クレートとモジュール (外部クレートのインポート)]、 [FFI] 参照。 | ||
* `false`: ブーリアン型の偽値のリテラル。 [プリミティブ型 (ブーリアン型)] 参照。 | ||
* `fn`: 関数定義及び関数ポインタ型。 [関数] 参照。 | ||
* `for`: イテレータループ、 `impl` 構文の一部、 あるいは 高階ライフタイム構文。 [ループ (`for`)], [メソッド構文] 参照。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
impl
構文の一部 → トレイト impl
構文の一部
* `(type,)`: 1要素タプルの型。 [プリミティブ型 (タプル)] 参照。 | ||
* `(expr, …)`: タプル式。 [プリミティブ型 (タプル)] 参照。 | ||
* `(type, …)`: タプル型。 [プリミティブ型 (タプル)] 参照。 | ||
* `expr(expr, …)`: 関数呼び出し式。また、 タプル `struct` 、 タプル `enum` を初期化するのにも使われる。 [関数] 参照。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「タプル enum
を初期化する」→「タプル enum
のヴァリアントを初期化する」
そういえば variants は対訳表では「ヴァリアント」ですが、章によっては「バリアント」になっているようです。どちらかに統一が必要。(issue をオープンします)
レビュー終わりました。このコメント が最後です。 |
ありがとうございます。修正しました。variantの件、了解しました。 |
[クレートとモジュール (外部クレートのインポート)]: crates-and-modules.html#importing-external-crates | ||
[クレートとモジュール (`use` を使ってモジュールをインポートする)]: crates-and-modules.html#importing-modules-with-use | ||
[クレートとモジュール (`pub use` を使った再エクスポート)]: crates-and-modules.html#re-exporting-with-pub-use | ||
[ダイバージング関数]: functions.html#diverging-functions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
すいません、レンダリングした所、いくつかのリンク切れに気づいてしまいました。
「functions.html#diverging-functions」→「functions.html#ダイバージング関数」
すみません。レンダリングして気づきましたが、リンク関連の問題が3点ほど見つかりました。ご確認をお願いします。 |
手元の確認が甘くて申し訳ありません。 ついでにFFIも他言語関数インターフェースに直しました。 |
あ、FFIと他言語関数インターフェースでSUMMARY.mdとffi.mdで食い違っていますね。他言語関数インターフェースに統一するよう後程プルリク投げます。 |
修正ありがとうございました。FFI のプルリクの件も、了解です。 マージしますね。おつかれさまでした! |
No description provided.