Enable SwiftLint rule 'implicit_return' and fix violation
This commit is contained in:
parent
b4d1b4de29
commit
50b2e0f088
2 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ whitelist_rules:
|
|||
- identical_operands
|
||||
# - identifier_name
|
||||
- implicit_getter
|
||||
# - implicit_return
|
||||
- implicit_return
|
||||
# - implicitly_unwrapped_optional
|
||||
# - indentation_width
|
||||
- inert_defer
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ public struct AdditionField: Hashable {
|
|||
}
|
||||
|
||||
var asTuple: (String, String) {
|
||||
return (title, content)
|
||||
(title, content)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue