Update
This commit is contained in:
1 parent
3530afb854
commit
6903fcff27
2146 files changed
+112256
-190703
No files matched your search
+2
-2
@@ -417,8 +417,8 @@ func (b *Extra) extractTrailingcomments(readonly bool) (trailing Extra) {
|
||||
|
||||
// classifyComments classifies comments as belonging to the previous element
|
||||
// or belonging to the current element such that:
|
||||
// * b[:prevEnd] belongs to the previous element, and
|
||||
// * b[currStart:] belongs to the current element.
|
||||
// - b[:prevEnd] belongs to the previous element, and
|
||||
// - b[currStart:] belongs to the current element.
|
||||
//
|
||||
// Invariant: prevEnd <= currStart
|
||||
func (b Extra) classifyComments() (prevEnd, currStart int) {
|
||||
|
||||
Reference in new issue
Block a user