Skip to content

4.1. variable bindings #15

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 15 commits into from
Feb 7, 2016
Merged

Conversation

KeenS
Copy link
Member

@KeenS KeenS commented Jan 27, 2016

既存の訳を調べてないので既に訳されたものがネットに転がっているならそちらを使いたいですがなければこのまま進めます。

@KeenS KeenS changed the title [WIP] variable bindings variable bindings Feb 2, 2016
@KeenS
Copy link
Member Author

KeenS commented Feb 2, 2016

@tatsuya6502
ようやく翻訳終わりました。お手隙の際にレビューお願いします。

@tatsuya6502
Copy link
Member

おつかれさまです! すみません、急に仕事が忙しくなって残業状態になってしまったので、レビューできるまで2〜3日かかってしまうかもしれません。できるだけ早くとりかかります。

@KeenS
Copy link
Member Author

KeenS commented Feb 3, 2016

大丈夫です。レビューまでに対訳表のコンフリクトを直しておきます。

<!-- in the future. If you’re following along, make sure to edit your `main()` -->
<!-- function, rather than leaving it off. Otherwise, you’ll get an error. -->
例で毎回 `fn main() {` と書くのは長ったらしいのでこれ以後は省略します。
もし試しながら読んでいるのならそのまま書くのではなくちゃんと `main()` 関数の中身を編集するようにしてください、そうしないとエラーになります。
Copy link
Contributor

Choose a reason for hiding this comment

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

もし試しながら読んでいるのならそのまま書くのではなくちゃんと main() 関数の中身を編集するようにしてください 「、」 そうしないとエラーになります。

「、」ではなくて「。」だと思います。

@KeenS
Copy link
Member Author

KeenS commented Feb 3, 2016

@ykomatsu 直しました。typoが多くて申し訳ありません。

<!-- In the following example we define two variable bindings, `x` and `y`, which -->
<!-- live in different blocks. `x` can be accessed from inside the `fn main() {}` -->
<!-- block, while `y` can be accessed only from inside the inner block: -->
束縛に話を戻しましょう。変数束縛にはスコープがあります。変数束縛は定義されたブロック内でしか生きていません。
Copy link
Contributor

Choose a reason for hiding this comment

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

追加ですみません。
ここの「生きていません」も「有効ではありません」にした方がいいかもしれません。

Copy link
Contributor

Choose a reason for hiding this comment

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

@KeenS その他は大丈夫だと思います。

@tatsuya6502
Copy link
Member

@ykomatsu さん、レビューありがとうございました!とても助かります!

@KeenS さん、遅くなってすみません。一応、私の方でも、レビューしますね。

<!-- bits. -->
この場合 `x` を32bit符号付き整数として表現することを選びました。
Rustには多くのプリミティブな整数型があります。プリミティブな整数型は符号付き型は `i` 、符号無し型は `u` から始まります。
整数型として可能なサイズは8、16、32、64です。
Copy link
Member

Choose a reason for hiding this comment

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

8、16、32、64ビットです(ビットを追加)

@tatsuya6502
Copy link
Member

私がもたもたしてしまったので申し訳ないのですが、用語集のコンフリクトについて、再度、対応をお願いします。

@tatsuya6502 tatsuya6502 changed the title variable bindings 4.1. variable bindings Feb 7, 2016
@KeenS
Copy link
Member Author

KeenS commented Feb 7, 2016

@tatsuya6502 @ykomatsu 修正しました。確認お願いします。

@tatsuya6502
Copy link
Member

@KeenS 数当てゲームの用語の方も直してくれたんですね。ありがとうございます! 手元でのレンダリング結果も良好なので、これでマージしますね。(generate も含め、私がやります)

おつかれさまでした!

@ykomatsu さん、もし他に気になる点があったら、後でかまわないのでおっしゃってください。

tatsuya6502 added a commit that referenced this pull request Feb 7, 2016
@tatsuya6502 tatsuya6502 merged commit f11834c into rust-lang-ja:master Feb 7, 2016
@tatsuya6502 tatsuya6502 modified the milestone: 1.6 Apr 28, 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.

3 participants