mirror of https://github.com/golang/go.git
bytes,strings: remove redundant return statement for Lines
To make it more idiomatic. Change-Id: Ia0ee3ba2d60b1a5a91aec6d9053c68821608cd40
This commit is contained in:
parent
4267fd389e
commit
525ed5031a
|
|
@ -28,7 +28,6 @@ func Lines(s []byte) iter.Seq[[]byte] {
|
|||
return
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ func Lines(s string) iter.Seq[string] {
|
|||
return
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue