Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit baf854db authored by Daichi Hirono's avatar Daichi Hirono
Browse files

Use expression functions when appropriate

This CL makes functions having a single return
statement expression functions.

These functions are found by the following command
line.

rg --pcre2 -U '^( +)\w.+ fun .+:.+\{\n\s+return.+\n(?:.+\n)*\1\}' -g '**/desktopmode/**'

Bug: None
Test: None
Flag: EXEMPT format only changes
Change-Id: If3e95c12231aa7cf69dfd60fb9277677a13d25a0
parent 15a70e8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment