Minor: fix comment about AllCommentsBinder

This commit is contained in:
Nikolay Krasko
2017-08-03 15:38:56 +03:00
parent 6194bc10f8
commit ae6f38e252
@@ -94,7 +94,7 @@ private class AllCommentsBinder(val isTrailing: Boolean) : WhitespacesAndComment
val size = tokens.size
// Skip comment if needed. Expect that there can't be several consecutive comments
// Skip one whitespace if needed. Expect that there can't be several consecutive whitespaces
val endToken = tokens[if (isTrailing) size - 1 else 0]
val shift = if (endToken == KtTokens.WHITE_SPACE) 1 else 0