Remove unnecessary return keyword from single-line computed properties and functions
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.
1 条评论