{"action":"created","comment":{"url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/comments/51531654","id":51531654,"diff_hunk":"@@ -151,15 +208,21 @@ let v2 = v;\n println!(\"v is: {}\", v);\n ```\n \n-In this case, `v` is an `i32`, which implements the `Copy` trait. This means\n-that, just like a move, when we assign `v` to `v2`, a copy of the data is made.\n-But, unlike a move, we can still use `v` afterward. This is because an `i32`\n-has no pointers to data somewhere else, copying it is a full copy.\n-\n-All primitive types implement the `Copy` trait and their ownership is\n-therefore not moved like one would assume, following the ´ownership rules´.\n-To give an example, the two following snippets of code only compile because the\n-`i32` and `bool` types implement the `Copy` trait.\n+<!-- In this case, `v` is an `i32`, which implements the `Copy` trait. This means -->\n+<!-- that, just like a move, when we assign `v` to `v2`, a copy of the data is made. -->\n+<!-- But, unlike a move, we can still use `v` afterward. This is because an `i32` -->\n+<!-- has no pointers to data somewhere else, copying it is a full copy. -->\n+この場合、`v`は`i32`で、それは`Copy`トレイトを実装します。\n+これはちょうど移転と同じように、`v`を`v2`に割り当てるとき、データのコピーが作られるということを意味します。\n+しかし、移転と違って後でまだ`v`を使うことができます。\n+これは`i32`がどこか別の場所へのポインタを持たず、コピーが完全コピーだからです。\n+\n+<!-- All primitive types implement the `Copy` trait and their ownership is -->\n+<!-- therefore not moved like one would assume, following the ´ownership rules´. -->\n+<!-- To give an example, the two following snippets of code only compile because the -->\n+<!-- `i32` and `bool` types implement the `Copy` trait. -->\n+全てのプリミティブ型は`Copy`トレイトを実装しているので、推測どおりそれらの所有権は「所有権ルール」に従っては移転しません。\n+例を与えるために、2つのコードスニペットを単にコンパイルしましょう。なぜなら、`i32`型と`bool`型は`Copy`トレイトを実装するからです。","path":"1.6/ja/book/ownership.md","position":308,"original_position":308,"commit_id":"17f203d7b1adb5b6e7259f1262eb8955482d82e7","original_commit_id":"17f203d7b1adb5b6e7259f1262eb8955482d82e7","user":{"login":"KeenS","id":4434568,"avatar_url":"https://avatars.githubusercontent.com/u/4434568?v=3","gravatar_id":"","url":"https://api.github.com/users/KeenS","html_url":"https://github.com/KeenS","followers_url":"https://api.github.com/users/KeenS/followers","following_url":"https://api.github.com/users/KeenS/following{/other_user}","gists_url":"https://api.github.com/users/KeenS/gists{/gist_id}","starred_url":"https://api.github.com/users/KeenS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KeenS/subscriptions","organizations_url":"https://api.github.com/users/KeenS/orgs","repos_url":"https://api.github.com/users/KeenS/repos","events_url":"https://api.github.com/users/KeenS/events{/privacy}","received_events_url":"https://api.github.com/users/KeenS/received_events","type":"User","site_admin":false},"body":"ここの\"compile\"は「コンパイルが通る」の意味かと思います。なので\r\n「~スニペットだけは `i32` 型と `bool` 型が `Copy` トレイトを実装するのでコンパイルが通ります。」\r\nじゃないでしょうか。","created_at":"2016-02-02T07:03:45Z","updated_at":"2016-02-02T07:03:45Z","html_url":"https://github.com/rust-lang-ja/the-rust-programming-language-ja/pull/53#discussion_r51531654","pull_request_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/comments/51531654"},"html":{"href":"https://github.com/rust-lang-ja/the-rust-programming-language-ja/pull/53#discussion_r51531654"},"pull_request":{"href":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/53","id":57918358,"html_url":"https://github.com/rust-lang-ja/the-rust-programming-language-ja/pull/53","diff_url":"https://github.com/rust-lang-ja/the-rust-programming-language-ja/pull/53.diff","patch_url":"https://github.com/rust-lang-ja/the-rust-programming-language-ja/pull/53.patch","issue_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/issues/53","number":53,"state":"open","locked":false,"title":"ownership","user":{"login":"ykomatsu","id":277653,"avatar_url":"https://avatars.githubusercontent.com/u/277653?v=3","gravatar_id":"","url":"https://api.github.com/users/ykomatsu","html_url":"https://github.com/ykomatsu","followers_url":"https://api.github.com/users/ykomatsu/followers","following_url":"https://api.github.com/users/ykomatsu/following{/other_user}","gists_url":"https://api.github.com/users/ykomatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/ykomatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykomatsu/subscriptions","organizations_url":"https://api.github.com/users/ykomatsu/orgs","repos_url":"https://api.github.com/users/ykomatsu/repos","events_url":"https://api.github.com/users/ykomatsu/events{/privacy}","received_events_url":"https://api.github.com/users/ykomatsu/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-01T23:36:13Z","updated_at":"2016-02-02T07:03:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9ef71a2d7fd47ddd6285a0605b5beb9284ac659","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/53/commits","review_comments_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/53/comments","review_comment_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/issues/53/comments","statuses_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/statuses/17f203d7b1adb5b6e7259f1262eb8955482d82e7","head":{"label":"ykomatsu:ownership","ref":"ownership","sha":"17f203d7b1adb5b6e7259f1262eb8955482d82e7","user":{"login":"ykomatsu","id":277653,"avatar_url":"https://avatars.githubusercontent.com/u/277653?v=3","gravatar_id":"","url":"https://api.github.com/users/ykomatsu","html_url":"https://github.com/ykomatsu","followers_url":"https://api.github.com/users/ykomatsu/followers","following_url":"https://api.github.com/users/ykomatsu/following{/other_user}","gists_url":"https://api.github.com/users/ykomatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/ykomatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykomatsu/subscriptions","organizations_url":"https://api.github.com/users/ykomatsu/orgs","repos_url":"https://api.github.com/users/ykomatsu/repos","events_url":"https://api.github.com/users/ykomatsu/events{/privacy}","received_events_url":"https://api.github.com/users/ykomatsu/received_events","type":"User","site_admin":false},"repo":{"id":50509483,"name":"the-rust-programming-language-ja","full_name":"ykomatsu/the-rust-programming-language-ja","owner":{"login":"ykomatsu","id":277653,"avatar_url":"https://avatars.githubusercontent.com/u/277653?v=3","gravatar_id":"","url":"https://api.github.com/users/ykomatsu","html_url":"https://github.com/ykomatsu","followers_url":"https://api.github.com/users/ykomatsu/followers","following_url":"https://api.github.com/users/ykomatsu/following{/other_user}","gists_url":"https://api.github.com/users/ykomatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/ykomatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykomatsu/subscriptions","organizations_url":"https://api.github.com/users/ykomatsu/orgs","repos_url":"https://api.github.com/users/ykomatsu/repos","events_url":"https://api.github.com/users/ykomatsu/events{/privacy}","received_events_url":"https://api.github.com/users/ykomatsu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ykomatsu/the-rust-programming-language-ja","description":"Rust文書の和訳レポジトリ","fork":true,"url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja","forks_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/forks","keys_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/teams","hooks_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/hooks","issue_events_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/issues/events{/number}","events_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/events","assignees_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/assignees{/user}","branches_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/branches{/branch}","tags_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/tags","blobs_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/git/refs{/sha}","trees_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/statuses/{sha}","languages_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/languages","stargazers_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/stargazers","contributors_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/contributors","subscribers_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/subscribers","subscription_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/subscription","commits_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/commits{/sha}","git_commits_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/git/commits{/sha}","comments_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/comments{/number}","issue_comment_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/issues/comments{/number}","contents_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/contents/{+path}","compare_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/merges","archive_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/downloads","issues_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/issues{/number}","pulls_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/pulls{/number}","milestones_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/milestones{/number}","notifications_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/labels{/name}","releases_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/releases{/id}","deployments_url":"https://api.github.com/repos/ykomatsu/the-rust-programming-language-ja/deployments","created_at":"2016-01-27T13:34:57Z","updated_at":"2016-02-01T21:00:41Z","pushed_at":"2016-02-02T05:32:03Z","git_url":"git://github.com/ykomatsu/the-rust-programming-language-ja.git","ssh_url":"git@github.com:ykomatsu/the-rust-programming-language-ja.git","clone_url":"https://github.com/ykomatsu/the-rust-programming-language-ja.git","svn_url":"https://github.com/ykomatsu/the-rust-programming-language-ja","homepage":"http://rust-lang-ja.github.io/the-rust-programming-language-ja/1.6/book/","size":2025,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang-ja:master","ref":"master","sha":"2f3f7a6bdc0f0f4a590c7e6ebb1974146d022c6a","user":{"login":"rust-lang-ja","id":16773079,"avatar_url":"https://avatars.githubusercontent.com/u/16773079?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang-ja","html_url":"https://github.com/rust-lang-ja","followers_url":"https://api.github.com/users/rust-lang-ja/followers","following_url":"https://api.github.com/users/rust-lang-ja/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang-ja/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang-ja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang-ja/subscriptions","organizations_url":"https://api.github.com/users/rust-lang-ja/orgs","repos_url":"https://api.github.com/users/rust-lang-ja/repos","events_url":"https://api.github.com/users/rust-lang-ja/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang-ja/received_events","type":"Organization","site_admin":false},"repo":{"id":50012175,"name":"the-rust-programming-language-ja","full_name":"rust-lang-ja/the-rust-programming-language-ja","owner":{"login":"rust-lang-ja","id":16773079,"avatar_url":"https://avatars.githubusercontent.com/u/16773079?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang-ja","html_url":"https://github.com/rust-lang-ja","followers_url":"https://api.github.com/users/rust-lang-ja/followers","following_url":"https://api.github.com/users/rust-lang-ja/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang-ja/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang-ja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang-ja/subscriptions","organizations_url":"https://api.github.com/users/rust-lang-ja/orgs","repos_url":"https://api.github.com/users/rust-lang-ja/repos","events_url":"https://api.github.com/users/rust-lang-ja/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang-ja/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang-ja/the-rust-programming-language-ja","description":"Rust文書の和訳レポジトリ","fork":false,"url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja","forks_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/forks","keys_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/teams","hooks_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/hooks","issue_events_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/events","assignees_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/tags","blobs_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/languages","stargazers_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/stargazers","contributors_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/contributors","subscribers_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/subscribers","subscription_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/subscription","commits_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/merges","archive_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/downloads","issues_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/releases{/id}","deployments_url":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/deployments","created_at":"2016-01-20T07:17:52Z","updated_at":"2016-01-30T22:12:15Z","pushed_at":"2016-02-02T06:31:33Z","git_url":"git://github.com/rust-lang-ja/the-rust-programming-language-ja.git","ssh_url":"git@github.com:rust-lang-ja/the-rust-programming-language-ja.git","clone_url":"https://github.com/rust-lang-ja/the-rust-programming-language-ja.git","svn_url":"https://github.com/rust-lang-ja/the-rust-programming-language-ja","homepage":"http://rust-lang-ja.github.io/the-rust-programming-language-ja/1.6/book/","size":6238,"stargazers_count":46,"watchers_count":46,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":17,"forks":12,"open_issues":17,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/53"},"html":{"href":"https://github.com/rust-lang-ja/the-rust-programming-language-ja/pull/53"},"issue":{"href":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/issues/53"},"comments":{"href":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang-ja/the-rust-programming-language-ja/statuses/17f203d7b1adb5b6e7259f1262eb8955482d82e7"}}}}