-
Notifications
You must be signed in to change notification settings - Fork 72
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
Conversation
@tatsuya6502 |
おつかれさまです! すみません、急に仕事が忙しくなって残業状態になってしまったので、レビューできるまで2〜3日かかってしまうかもしれません。できるだけ早くとりかかります。 |
大丈夫です。レビューまでに対訳表のコンフリクトを直しておきます。 |
<!-- 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()` 関数の中身を編集するようにしてください、そうしないとエラーになります。 |
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.
もし試しながら読んでいるのならそのまま書くのではなくちゃんと
main()
関数の中身を編集するようにしてください 「、」 そうしないとエラーになります。
「、」ではなくて「。」だと思います。
@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: --> | ||
束縛に話を戻しましょう。変数束縛にはスコープがあります。変数束縛は定義されたブロック内でしか生きていません。 |
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.
追加ですみません。
ここの「生きていません」も「有効ではありません」にした方がいいかもしれません。
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.
@KeenS その他は大丈夫だと思います。
<!-- bits. --> | ||
この場合 `x` を32bit符号付き整数として表現することを選びました。 | ||
Rustには多くのプリミティブな整数型があります。プリミティブな整数型は符号付き型は `i` 、符号無し型は `u` から始まります。 | ||
整数型として可能なサイズは8、16、32、64です。 |
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.
8、16、32、64ビットです(ビットを追加)
私がもたもたしてしまったので申し訳ないのですが、用語集のコンフリクトについて、再度、対応をお願いします。 |
@tatsuya6502 @ykomatsu 修正しました。確認お願いします。 |
既存の訳を調べてないので既に訳されたものがネットに転がっているならそちらを使いたいですがなければこのまま進めます。