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
|
- identical_operands
|
||||||
# - identifier_name
|
# - identifier_name
|
||||||
- implicit_getter
|
- implicit_getter
|
||||||
# - implicit_return
|
- implicit_return
|
||||||
# - implicitly_unwrapped_optional
|
# - implicitly_unwrapped_optional
|
||||||
# - indentation_width
|
# - indentation_width
|
||||||
- inert_defer
|
- inert_defer
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ public struct AdditionField: Hashable {
|
||||||
}
|
}
|
||||||
|
|
||||||
var asTuple: (String, String) {
|
var asTuple: (String, String) {
|
||||||
return (title, content)
|
(title, content)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue