{"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/m-decoster/RsGenetic/pulls/14","id":57409394,"html_url":"https://github.com/m-decoster/RsGenetic/pull/14","diff_url":"https://github.com/m-decoster/RsGenetic/pull/14.diff","patch_url":"https://github.com/m-decoster/RsGenetic/pull/14.patch","issue_url":"https://api.github.com/repos/m-decoster/RsGenetic/issues/14","number":14,"state":"closed","locked":false,"title":"Change mutation of string example to only alter single char","user":{"login":"dommueller","id":7203877,"avatar_url":"https://avatars.githubusercontent.com/u/7203877?v=3","gravatar_id":"","url":"https://api.github.com/users/dommueller","html_url":"https://github.com/dommueller","followers_url":"https://api.github.com/users/dommueller/followers","following_url":"https://api.github.com/users/dommueller/following{/other_user}","gists_url":"https://api.github.com/users/dommueller/gists{/gist_id}","starred_url":"https://api.github.com/users/dommueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dommueller/subscriptions","organizations_url":"https://api.github.com/users/dommueller/orgs","repos_url":"https://api.github.com/users/dommueller/repos","events_url":"https://api.github.com/users/dommueller/events{/privacy}","received_events_url":"https://api.github.com/users/dommueller/received_events","type":"User","site_admin":false},"body":"As state in the documentation, [`str::replace`](http://smallcultfollowing.com/rust-int-variations/imem-umem/std/str/fn.replace.html) replaces all occurrences. This version changes only the char at the selected index.\r\n\r\nHowever, I'm not sure if this is the best way to replace a single char in Rust.","created_at":"2016-01-27T19:26:04Z","updated_at":"2016-01-30T09:50:36Z","closed_at":"2016-01-30T09:50:35Z","merged_at":"2016-01-30T09:50:35Z","merge_commit_sha":"1df01b866d29fe950ddeacf46ce55422761e5a17","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/m-decoster/RsGenetic/pulls/14/commits","review_comments_url":"https://api.github.com/repos/m-decoster/RsGenetic/pulls/14/comments","review_comment_url":"https://api.github.com/repos/m-decoster/RsGenetic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/m-decoster/RsGenetic/issues/14/comments","statuses_url":"https://api.github.com/repos/m-decoster/RsGenetic/statuses/d46b3bc21efe2ec3016813c537017b70c8bf6bbb","head":{"label":"dommueller:master","ref":"master","sha":"d46b3bc21efe2ec3016813c537017b70c8bf6bbb","user":{"login":"dommueller","id":7203877,"avatar_url":"https://avatars.githubusercontent.com/u/7203877?v=3","gravatar_id":"","url":"https://api.github.com/users/dommueller","html_url":"https://github.com/dommueller","followers_url":"https://api.github.com/users/dommueller/followers","following_url":"https://api.github.com/users/dommueller/following{/other_user}","gists_url":"https://api.github.com/users/dommueller/gists{/gist_id}","starred_url":"https://api.github.com/users/dommueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dommueller/subscriptions","organizations_url":"https://api.github.com/users/dommueller/orgs","repos_url":"https://api.github.com/users/dommueller/repos","events_url":"https://api.github.com/users/dommueller/events{/privacy}","received_events_url":"https://api.github.com/users/dommueller/received_events","type":"User","site_admin":false},"repo":{"id":50531340,"name":"RsGenetic","full_name":"dommueller/RsGenetic","owner":{"login":"dommueller","id":7203877,"avatar_url":"https://avatars.githubusercontent.com/u/7203877?v=3","gravatar_id":"","url":"https://api.github.com/users/dommueller","html_url":"https://github.com/dommueller","followers_url":"https://api.github.com/users/dommueller/followers","following_url":"https://api.github.com/users/dommueller/following{/other_user}","gists_url":"https://api.github.com/users/dommueller/gists{/gist_id}","starred_url":"https://api.github.com/users/dommueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dommueller/subscriptions","organizations_url":"https://api.github.com/users/dommueller/orgs","repos_url":"https://api.github.com/users/dommueller/repos","events_url":"https://api.github.com/users/dommueller/events{/privacy}","received_events_url":"https://api.github.com/users/dommueller/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dommueller/RsGenetic","description":"Genetic Algorithm library in Rust","fork":true,"url":"https://api.github.com/repos/dommueller/RsGenetic","forks_url":"https://api.github.com/repos/dommueller/RsGenetic/forks","keys_url":"https://api.github.com/repos/dommueller/RsGenetic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dommueller/RsGenetic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dommueller/RsGenetic/teams","hooks_url":"https://api.github.com/repos/dommueller/RsGenetic/hooks","issue_events_url":"https://api.github.com/repos/dommueller/RsGenetic/issues/events{/number}","events_url":"https://api.github.com/repos/dommueller/RsGenetic/events","assignees_url":"https://api.github.com/repos/dommueller/RsGenetic/assignees{/user}","branches_url":"https://api.github.com/repos/dommueller/RsGenetic/branches{/branch}","tags_url":"https://api.github.com/repos/dommueller/RsGenetic/tags","blobs_url":"https://api.github.com/repos/dommueller/RsGenetic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dommueller/RsGenetic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dommueller/RsGenetic/git/refs{/sha}","trees_url":"https://api.github.com/repos/dommueller/RsGenetic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dommueller/RsGenetic/statuses/{sha}","languages_url":"https://api.github.com/repos/dommueller/RsGenetic/languages","stargazers_url":"https://api.github.com/repos/dommueller/RsGenetic/stargazers","contributors_url":"https://api.github.com/repos/dommueller/RsGenetic/contributors","subscribers_url":"https://api.github.com/repos/dommueller/RsGenetic/subscribers","subscription_url":"https://api.github.com/repos/dommueller/RsGenetic/subscription","commits_url":"https://api.github.com/repos/dommueller/RsGenetic/commits{/sha}","git_commits_url":"https://api.github.com/repos/dommueller/RsGenetic/git/commits{/sha}","comments_url":"https://api.github.com/repos/dommueller/RsGenetic/comments{/number}","issue_comment_url":"https://api.github.com/repos/dommueller/RsGenetic/issues/comments{/number}","contents_url":"https://api.github.com/repos/dommueller/RsGenetic/contents/{+path}","compare_url":"https://api.github.com/repos/dommueller/RsGenetic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dommueller/RsGenetic/merges","archive_url":"https://api.github.com/repos/dommueller/RsGenetic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dommueller/RsGenetic/downloads","issues_url":"https://api.github.com/repos/dommueller/RsGenetic/issues{/number}","pulls_url":"https://api.github.com/repos/dommueller/RsGenetic/pulls{/number}","milestones_url":"https://api.github.com/repos/dommueller/RsGenetic/milestones{/number}","notifications_url":"https://api.github.com/repos/dommueller/RsGenetic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dommueller/RsGenetic/labels{/name}","releases_url":"https://api.github.com/repos/dommueller/RsGenetic/releases{/id}","deployments_url":"https://api.github.com/repos/dommueller/RsGenetic/deployments","created_at":"2016-01-27T19:15:18Z","updated_at":"2016-01-27T19:15:19Z","pushed_at":"2016-01-27T19:18:43Z","git_url":"git://github.com/dommueller/RsGenetic.git","ssh_url":"git@github.com:dommueller/RsGenetic.git","clone_url":"https://github.com/dommueller/RsGenetic.git","svn_url":"https://github.com/dommueller/RsGenetic","homepage":null,"size":1598,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"m-decoster:master","ref":"master","sha":"6fe0c83ae7574fb0ac83ac34a89e7fa20064ee53","user":{"login":"m-decoster","id":4245468,"avatar_url":"https://avatars.githubusercontent.com/u/4245468?v=3","gravatar_id":"","url":"https://api.github.com/users/m-decoster","html_url":"https://github.com/m-decoster","followers_url":"https://api.github.com/users/m-decoster/followers","following_url":"https://api.github.com/users/m-decoster/following{/other_user}","gists_url":"https://api.github.com/users/m-decoster/gists{/gist_id}","starred_url":"https://api.github.com/users/m-decoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-decoster/subscriptions","organizations_url":"https://api.github.com/users/m-decoster/orgs","repos_url":"https://api.github.com/users/m-decoster/repos","events_url":"https://api.github.com/users/m-decoster/events{/privacy}","received_events_url":"https://api.github.com/users/m-decoster/received_events","type":"User","site_admin":false},"repo":{"id":47873258,"name":"RsGenetic","full_name":"m-decoster/RsGenetic","owner":{"login":"m-decoster","id":4245468,"avatar_url":"https://avatars.githubusercontent.com/u/4245468?v=3","gravatar_id":"","url":"https://api.github.com/users/m-decoster","html_url":"https://github.com/m-decoster","followers_url":"https://api.github.com/users/m-decoster/followers","following_url":"https://api.github.com/users/m-decoster/following{/other_user}","gists_url":"https://api.github.com/users/m-decoster/gists{/gist_id}","starred_url":"https://api.github.com/users/m-decoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-decoster/subscriptions","organizations_url":"https://api.github.com/users/m-decoster/orgs","repos_url":"https://api.github.com/users/m-decoster/repos","events_url":"https://api.github.com/users/m-decoster/events{/privacy}","received_events_url":"https://api.github.com/users/m-decoster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m-decoster/RsGenetic","description":"Genetic Algorithm library in Rust","fork":false,"url":"https://api.github.com/repos/m-decoster/RsGenetic","forks_url":"https://api.github.com/repos/m-decoster/RsGenetic/forks","keys_url":"https://api.github.com/repos/m-decoster/RsGenetic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m-decoster/RsGenetic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m-decoster/RsGenetic/teams","hooks_url":"https://api.github.com/repos/m-decoster/RsGenetic/hooks","issue_events_url":"https://api.github.com/repos/m-decoster/RsGenetic/issues/events{/number}","events_url":"https://api.github.com/repos/m-decoster/RsGenetic/events","assignees_url":"https://api.github.com/repos/m-decoster/RsGenetic/assignees{/user}","branches_url":"https://api.github.com/repos/m-decoster/RsGenetic/branches{/branch}","tags_url":"https://api.github.com/repos/m-decoster/RsGenetic/tags","blobs_url":"https://api.github.com/repos/m-decoster/RsGenetic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m-decoster/RsGenetic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m-decoster/RsGenetic/git/refs{/sha}","trees_url":"https://api.github.com/repos/m-decoster/RsGenetic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m-decoster/RsGenetic/statuses/{sha}","languages_url":"https://api.github.com/repos/m-decoster/RsGenetic/languages","stargazers_url":"https://api.github.com/repos/m-decoster/RsGenetic/stargazers","contributors_url":"https://api.github.com/repos/m-decoster/RsGenetic/contributors","subscribers_url":"https://api.github.com/repos/m-decoster/RsGenetic/subscribers","subscription_url":"https://api.github.com/repos/m-decoster/RsGenetic/subscription","commits_url":"https://api.github.com/repos/m-decoster/RsGenetic/commits{/sha}","git_commits_url":"https://api.github.com/repos/m-decoster/RsGenetic/git/commits{/sha}","comments_url":"https://api.github.com/repos/m-decoster/RsGenetic/comments{/number}","issue_comment_url":"https://api.github.com/repos/m-decoster/RsGenetic/issues/comments{/number}","contents_url":"https://api.github.com/repos/m-decoster/RsGenetic/contents/{+path}","compare_url":"https://api.github.com/repos/m-decoster/RsGenetic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m-decoster/RsGenetic/merges","archive_url":"https://api.github.com/repos/m-decoster/RsGenetic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m-decoster/RsGenetic/downloads","issues_url":"https://api.github.com/repos/m-decoster/RsGenetic/issues{/number}","pulls_url":"https://api.github.com/repos/m-decoster/RsGenetic/pulls{/number}","milestones_url":"https://api.github.com/repos/m-decoster/RsGenetic/milestones{/number}","notifications_url":"https://api.github.com/repos/m-decoster/RsGenetic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m-decoster/RsGenetic/labels{/name}","releases_url":"https://api.github.com/repos/m-decoster/RsGenetic/releases{/id}","deployments_url":"https://api.github.com/repos/m-decoster/RsGenetic/deployments","created_at":"2015-12-12T10:07:07Z","updated_at":"2016-01-13T19:32:46Z","pushed_at":"2016-01-30T09:50:35Z","git_url":"git://github.com/m-decoster/RsGenetic.git","ssh_url":"git@github.com:m-decoster/RsGenetic.git","clone_url":"https://github.com/m-decoster/RsGenetic.git","svn_url":"https://github.com/m-decoster/RsGenetic","homepage":null,"size":1597,"stargazers_count":1,"watchers_count":1,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/m-decoster/RsGenetic/pulls/14"},"html":{"href":"https://github.com/m-decoster/RsGenetic/pull/14"},"issue":{"href":"https://api.github.com/repos/m-decoster/RsGenetic/issues/14"},"comments":{"href":"https://api.github.com/repos/m-decoster/RsGenetic/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/m-decoster/RsGenetic/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/m-decoster/RsGenetic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/m-decoster/RsGenetic/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/m-decoster/RsGenetic/statuses/d46b3bc21efe2ec3016813c537017b70c8bf6bbb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"m-decoster","id":4245468,"avatar_url":"https://avatars.githubusercontent.com/u/4245468?v=3","gravatar_id":"","url":"https://api.github.com/users/m-decoster","html_url":"https://github.com/m-decoster","followers_url":"https://api.github.com/users/m-decoster/followers","following_url":"https://api.github.com/users/m-decoster/following{/other_user}","gists_url":"https://api.github.com/users/m-decoster/gists{/gist_id}","starred_url":"https://api.github.com/users/m-decoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-decoster/subscriptions","organizations_url":"https://api.github.com/users/m-decoster/orgs","repos_url":"https://api.github.com/users/m-decoster/repos","events_url":"https://api.github.com/users/m-decoster/events{/privacy}","received_events_url":"https://api.github.com/users/m-decoster/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":10,"deletions":8,"changed_files":1}}