Use implicit member expression

This commit is contained in:
Bill Bagdon
2016-09-01 14:49:43 -04:00
parent 51368ca740
commit e7bcd72e32
@@ -59,7 +59,7 @@ public struct TodoRule: ConfigurationProviderRule {
}
message = message.stringByReplacingOccurrencesOfString("//", withString: "")
// trim whitespace
message = message.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceAndNewlineCharacterSet())
message = message.stringByTrimmingCharactersInSet(.whitespaceAndNewlineCharacterSet())
// limiting the output length of todo message
let maxLengthOfMessage = 30