{"action":"created","issue":{"url":"https://api.github.com/repos/nrc/rustfmt/issues/4","labels_url":"https://api.github.com/repos/nrc/rustfmt/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/nrc/rustfmt/issues/4/comments","events_url":"https://api.github.com/repos/nrc/rustfmt/issues/4/events","html_url":"https://github.com/nrc/rustfmt/issues/4","id":60295601,"number":4,"title":"format more expressions","user":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-09T03:58:59Z","updated_at":"2015-04-21T11:00:38Z","closed_at":null,"body":"basically all of them at this stage"},"comment":{"url":"https://api.github.com/repos/nrc/rustfmt/issues/comments/94744528","html_url":"https://github.com/nrc/rustfmt/issues/4#issuecomment-94744528","issue_url":"https://api.github.com/repos/nrc/rustfmt/issues/4","id":94744528,"user":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T11:00:38Z","updated_at":"2015-04-21T11:00:38Z","body":"Boolean expressions would be nice to tackle - we often split these across lines in if statements and so forth (and are often badly formatted).\r\n\r\nAssignment would be interesting and useful too - we get the interesting factor of balancing the left and right hand sides, e.g.,\r\n\r\n```\r\n(a, b, c, d, e) = foo(w, x, y, z);\r\n// Assuming there is not enough width we could do any of:\r\n(a, b, c, d, e) =\r\n    foo(w, x, y, z);\r\n(a,\r\n b,\r\n c,\r\n d,\r\n e) = foo(w, x, y, z);\r\n(a, b, c, d, e) = foo(w,\r\n                               x,\r\n                               y,\r\n                               z);\r\n// Or any combination thereof.\r\n```\r\n\r\nWe should definitely use the user input as a hint in such a case."}}