rspec/rules/S139/swift/rule.adoc

15 lines
260 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
== Noncompliant Code Example
----
var a1 = b + c // This is a trailing comment that can be very very long
----
== Compliant Solution
----
// This very long comment is better placed before the line of code
var a2 = b + c
----