Why is this an issue?

For better readability, do not put more than one statement on a single line.

Noncompliant code example

foo(); bar() // Noncompliant

Compliant solution

foo()
bar()

Exceptions

Control flow statements with a single nested statement are ignored.

if condition { doSomething() } // Compliant