{"action":"closed","issue":{"url":"https://api.github.com/repos/zonyitoo/context-rs/issues/14","labels_url":"https://api.github.com/repos/zonyitoo/context-rs/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/zonyitoo/context-rs/issues/14/comments","events_url":"https://api.github.com/repos/zonyitoo/context-rs/issues/14/events","html_url":"https://github.com/zonyitoo/context-rs/issues/14","id":111425523,"number":14,"title":"Make the Context::load back to diverging function","user":{"login":"zonyitoo","id":1067951,"avatar_url":"https://avatars.githubusercontent.com/u/1067951?v=3","gravatar_id":"","url":"https://api.github.com/users/zonyitoo","html_url":"https://github.com/zonyitoo","followers_url":"https://api.github.com/users/zonyitoo/followers","following_url":"https://api.github.com/users/zonyitoo/following{/other_user}","gists_url":"https://api.github.com/users/zonyitoo/gists{/gist_id}","starred_url":"https://api.github.com/users/zonyitoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonyitoo/subscriptions","organizations_url":"https://api.github.com/users/zonyitoo/orgs","repos_url":"https://api.github.com/users/zonyitoo/repos","events_url":"https://api.github.com/users/zonyitoo/events{/privacy}","received_events_url":"https://api.github.com/users/zonyitoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zonyitoo/context-rs/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"zonyitoo","id":1067951,"avatar_url":"https://avatars.githubusercontent.com/u/1067951?v=3","gravatar_id":"","url":"https://api.github.com/users/zonyitoo","html_url":"https://github.com/zonyitoo","followers_url":"https://api.github.com/users/zonyitoo/followers","following_url":"https://api.github.com/users/zonyitoo/following{/other_user}","gists_url":"https://api.github.com/users/zonyitoo/gists{/gist_id}","starred_url":"https://api.github.com/users/zonyitoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonyitoo/subscriptions","organizations_url":"https://api.github.com/users/zonyitoo/orgs","repos_url":"https://api.github.com/users/zonyitoo/repos","events_url":"https://api.github.com/users/zonyitoo/events{/privacy}","received_events_url":"https://api.github.com/users/zonyitoo/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-10-14T15:39:48Z","updated_at":"2015-12-07T16:07:29Z","closed_at":"2015-12-07T16:07:29Z","body":"Because of #3 , the `-> !` mark was removed from the definition of `Context::load`, but I just use the latest nightly version of rustc, it seems that it won't generate any warning right now. So I think it is a good time to bing that back.\r\n\r\nHere is the test code:\r\n\r\n```rust\r\nextern crate context;\r\n\r\nuse context::Context;\r\n\r\nfn main() {\r\n    let mut flag = Box::new(false);\r\n\r\n    let mut context = Context::empty();\r\n    Context::save(&mut context);\r\n\r\n    if !*flag {\r\n        *flag = true;\r\n        println!(\"Modifing the flag ...\");\r\n        Context::load(&context);\r\n    }\r\n\r\n    println!(\"Now it becomes true\");\r\n}\r\n```\r\n\r\nRustc version\r\n\r\n```\r\nrustc 1.5.0-nightly (9d3e79ad3 2015-10-10)\r\n```"}}