{"action":"closed","issue":{"url":"https://api.github.com/repos/CosmicMind/Material/issues/528","repository_url":"https://api.github.com/repos/CosmicMind/Material","labels_url":"https://api.github.com/repos/CosmicMind/Material/issues/528/labels{/name}","comments_url":"https://api.github.com/repos/CosmicMind/Material/issues/528/comments","events_url":"https://api.github.com/repos/CosmicMind/Material/issues/528/events","html_url":"https://github.com/CosmicMind/Material/issues/528","id":177562295,"number":528,"title":"Add @discardableResult to Layout helper","user":{"login":"mohpor","id":4954588,"avatar_url":"https://avatars.githubusercontent.com/u/4954588?v=3","gravatar_id":"","url":"https://api.github.com/users/mohpor","html_url":"https://github.com/mohpor","followers_url":"https://api.github.com/users/mohpor/followers","following_url":"https://api.github.com/users/mohpor/following{/other_user}","gists_url":"https://api.github.com/users/mohpor/gists{/gist_id}","starred_url":"https://api.github.com/users/mohpor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohpor/subscriptions","organizations_url":"https://api.github.com/users/mohpor/orgs","repos_url":"https://api.github.com/users/mohpor/repos","events_url":"https://api.github.com/users/mohpor/events{/privacy}","received_events_url":"https://api.github.com/users/mohpor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CosmicMind/Material/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"danieldahan","id":9982123,"avatar_url":"https://avatars.githubusercontent.com/u/9982123?v=3","gravatar_id":"","url":"https://api.github.com/users/danieldahan","html_url":"https://github.com/danieldahan","followers_url":"https://api.github.com/users/danieldahan/followers","following_url":"https://api.github.com/users/danieldahan/following{/other_user}","gists_url":"https://api.github.com/users/danieldahan/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldahan/subscriptions","organizations_url":"https://api.github.com/users/danieldahan/orgs","repos_url":"https://api.github.com/users/danieldahan/repos","events_url":"https://api.github.com/users/danieldahan/events{/privacy}","received_events_url":"https://api.github.com/users/danieldahan/received_events","type":"User","site_admin":false},"assignees":[{"login":"danieldahan","id":9982123,"avatar_url":"https://avatars.githubusercontent.com/u/9982123?v=3","gravatar_id":"","url":"https://api.github.com/users/danieldahan","html_url":"https://github.com/danieldahan","followers_url":"https://api.github.com/users/danieldahan/followers","following_url":"https://api.github.com/users/danieldahan/following{/other_user}","gists_url":"https://api.github.com/users/danieldahan/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldahan/subscriptions","organizations_url":"https://api.github.com/users/danieldahan/orgs","repos_url":"https://api.github.com/users/danieldahan/repos","events_url":"https://api.github.com/users/danieldahan/events{/privacy}","received_events_url":"https://api.github.com/users/danieldahan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-17T07:44:10Z","updated_at":"2016-09-17T18:44:28Z","closed_at":"2016-09-17T18:44:28Z","body":"As per [SE-0047](https://github.com/apple/swift-evolution/blob/master/proposals/0047-nonvoid-warn.md) (implemented in Swift 3.0), `@warn_unused_result` is default for non-void functions. \r\n\r\n`Layout` functions return `Layout` for chaining purposes and should add `@discardableResult` to them to prevent unwanted warnings about their results not being used."}}
{"actor":{"display_login":"danieldahan"}}