Skip to content

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

Merged
merged 9 commits into from
Apr 27, 2016
Merged

8. Syntax Index #130

merged 9 commits into from
Apr 27, 2016

Conversation

KeenS
Copy link
Member

@KeenS KeenS commented Apr 11, 2016

No description provided.

@tatsuya6502 tatsuya6502 added this to the 1.6 milestone Apr 12, 2016
@KeenS
Copy link
Member Author

KeenS commented Apr 26, 2016

@tatsuya6502
構文のインデックスを翻訳しました。リストだらけで結構見辛いですがレビューお願いします。
クレートとモジュールのサブセクションのタイトルはそちらの翻訳が終わったらそれを反映したいと思います。

@tatsuya6502 tatsuya6502 changed the title [WIP] 8. Syntax Index 8. Syntax Index Apr 26, 2016
* `extern`: 外部クレート、関数、変数のリンク。 [クレートとモジュール (外部クレートのインポート)]、 [FFI] 参照。
* `false`: ブーリアン型の偽値のリテラル。 [プリミティブ型 (ブーリアン型)] 参照。
* `fn`: 関数定義及び関数ポインタ型。 [関数] 参照。
* `for`: イテレータループ、 `impl` 構文の一部、 あるいは 高階ライフタイム構文。 [ループ (`for`)], [メソッド構文] 参照。
Copy link
Member

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` を初期化するのにも使われる。 [関数] 参照。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

「タプル enum を初期化する」→「タプル enum のヴァリアントを初期化する」

そういえば variants は対訳表では「ヴァリアント」ですが、章によっては「バリアント」になっているようです。どちらかに統一が必要。(issue をオープンします)

@tatsuya6502
Copy link
Member

レビュー終わりました。このコメント が最後です。

@KeenS
Copy link
Member Author

KeenS commented Apr 26, 2016

ありがとうございます。修正しました。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
Copy link
Member

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#ダイバージング関数」

@tatsuya6502
Copy link
Member

すみません。レンダリングして気づきましたが、リンク関連の問題が3点ほど見つかりました。ご確認をお願いします。

@KeenS
Copy link
Member Author

KeenS commented Apr 27, 2016

手元の確認が甘くて申し訳ありません。

ついでにFFIも他言語関数インターフェースに直しました。

@KeenS
Copy link
Member Author

KeenS commented Apr 27, 2016

あ、FFIと他言語関数インターフェースでSUMMARY.mdとffi.mdで食い違っていますね。他言語関数インターフェースに統一するよう後程プルリク投げます。

@tatsuya6502
Copy link
Member

修正ありがとうございました。FFI のプルリクの件も、了解です。

マージしますね。おつかれさまでした!

@tatsuya6502 tatsuya6502 merged commit 9e2fc56 into rust-lang-ja:master Apr 27, 2016
@tatsuya6502 tatsuya6502 modified the milestone: 1.6 Apr 28, 2016
@tatsuya6502 tatsuya6502 modified the milestone: 1.6 Apr 28, 2016
@KeenS KeenS mentioned this pull request May 9, 2016
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