Skip to content

Remove unnecessary return keyword from single-line computed properties and functions #132

Description

@panchalrajan

Single-line computed properties and functions still use the return keyword unnecessarily.

Swift allows implicit returns for single-expression bodies, improving readability and consistency across the codebase.
Removing redundant return statements will make the code cleaner, more concise, and follow modern Swift style conventions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions