Enable SwiftLint rule 'implicit_return' and fix violation

This commit is contained in:
Danny Moesch 2020-09-20 13:43:02 +02:00 committed by Mingshen Sun
parent b4d1b4de29
commit 50b2e0f088
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ whitelist_rules:
- identical_operands
# - identifier_name
- implicit_getter
# - implicit_return
- implicit_return
# - implicitly_unwrapped_optional
# - indentation_width
- inert_defer

View file

@ -19,7 +19,7 @@ public struct AdditionField: Hashable {
}
var asTuple: (String, String) {
return (title, content)
(title, content)
}
}