style: modernize to splitseq, cut, min, maps.copy and range-over-int
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ func probeGoAsm(names []string) (map[string]bool, error) {
|
||||
result[name] = true // no news = the name parsed fine
|
||||
}
|
||||
reParse := regexp.MustCompile(`probe\.s:(\d+):`)
|
||||
for _, l := range strings.Split(string(out), "\n") {
|
||||
for l := range strings.SplitSeq(string(out), "\n") {
|
||||
m := reParse.FindStringSubmatch(l)
|
||||
if m == nil {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user