7 ms·
Except it is. var body is a variable declaration. some View {…} is nested closures with a single statement each so the return keyword is implied. Just add retur
by hn-acct 2y ago
Except it is. var body is a variable declaration. some View {…} is nested closures with a single statement each so the return keyword is implied. Just add return in your second example