File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- /*Package difflib is a partial port of Python difflib module.
1
+ /*
2
+ Package difflib is a partial port of Python difflib module.
2
3
3
4
Original source: https://github.com/pmezard/go-difflib
4
5
@@ -170,12 +171,15 @@ func (m *SequenceMatcher) isBJunk(s string) bool {
170
171
// If IsJunk is not defined:
171
172
//
172
173
// 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
+ //
175
178
// 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'
179
183
//
180
184
// In other words, of all maximal matching blocks, return one that
181
185
// starts earliest in a, and of all those maximal matching blocks that
You can’t perform that action at this time.
0 commit comments