Skip to content

Commit 7d95f55

Browse files
committed
internal/difflib: gofmt
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 5ae0c49 commit 7d95f55

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

internal/difflib/difflib.go

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/*Package difflib is a partial port of Python difflib module.
1+
/*
2+
Package difflib is a partial port of Python difflib module.
23
34
Original source: https://github.com/pmezard/go-difflib
45
@@ -170,12 +171,15 @@ func (m *SequenceMatcher) isBJunk(s string) bool {
170171
// If IsJunk is not defined:
171172
//
172173
// Return (i,j,k) such that a[i:i+k] is equal to b[j:j+k], where
173-
// alo <= i <= i+k <= ahi
174-
// blo <= j <= j+k <= bhi
174+
//
175+
// alo <= i <= i+k <= ahi
176+
// blo <= j <= j+k <= bhi
177+
//
175178
// and for all (i',j',k') meeting those conditions,
176-
// k >= k'
177-
// i <= i'
178-
// and if i == i', j <= j'
179+
//
180+
// k >= k'
181+
// i <= i'
182+
// and if i == i', j <= j'
179183
//
180184
// In other words, of all maximal matching blocks, return one that
181185
// starts earliest in a, and of all those maximal matching blocks that

0 commit comments

Comments
 (0)