Skip to content

Commit

Permalink
More lets instead of vars
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Jun 14, 2022
1 parent 99c8e90 commit 2658108
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Blink/CompleteUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ struct CompleteUtils {
return CompleteToken()
}

var buf = Array(input)
var len = buf.count
var cursor = max(min(cursor, len), 0)
let buf = Array(input)
let len = buf.count
let cursor = max(min(cursor, len), 0)
var start = 0;
var end = 0;
var i = 0;
Expand Down

0 comments on commit 2658108

Please sign in to comment.