Skip to content

Commit ec2c99b

Browse files
committed
Update Reverse comment
Change-Id: I6e435391fc5d1d67af96ea88dcce3ccdd204d146
1 parent f3cf0f4 commit ec2c99b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stringutil/reverse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
// Package stringutil contains utility functions for working with strings.
1818
package stringutil
1919

20-
// Reverse returns the provided string with its runes in reverse order.
20+
// Reverse returns its argument string reversed rune-wise left to right.
2121
func Reverse(s string) string {
2222
r := []rune(s)
2323
for i, j := 0, len(r)-1; i < len(r)/2; i, j = i+1, j-1 {

0 commit comments

Comments
 (0)