You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consecutive spaces within code are frequently different than consecutive spaces before an inline comment. For example, here the comment may be intended to have some extra space to separate it from the code, but it's still desirable to remove the extra space in the code.
var i = 1 // one based index
Here's typical example were the space before the comment may be desirable.
enum Algorithm: Int {
case aes = 0 // kCCAlgorithmAES
case des // kCCAlgorithmDES
case tripleDES // kCCAlgorithm3DES
case cast // kCCAlgorithmCAST
case rc4 // kCCAlgorithmRC4
case rc2 // kCCAlgorithmRC2
case blowfish // kCCAlgorithmBlowfish
}
versus:
enum Algorithm: Int {
case aes = 0 // kCCAlgorithmAES
case des // kCCAlgorithmDES
case tripleDES // kCCAlgorithm3DES
case cast // kCCAlgorithmCAST
case rc4 // kCCAlgorithmRC4
case rc2 // kCCAlgorithmRC2
case blowfish // kCCAlgorithmBlowfish
}
The text was updated successfully, but these errors were encountered:
Version: 0.40.4
Consecutive spaces within code are frequently different than consecutive spaces before an inline comment. For example, here the comment may be intended to have some extra space to separate it from the code, but it's still desirable to remove the extra space in the code.
Here's typical example were the space before the comment may be desirable.
versus:
The text was updated successfully, but these errors were encountered: