mirror of https://github.com/golang/go.git
time: remove an unnecessary comment from quote
This commit is contained in:
parent
4da6dc9926
commit
5445b54771
|
|
@ -891,8 +891,6 @@ func quote(s string) string {
|
|||
if c == '"' || c == '\\' {
|
||||
buf = append(buf, '\\')
|
||||
}
|
||||
// Since c < runeSelf && c >= ' ' (i.e., 32 <= c < 128),
|
||||
// `byte(c)` is used for better performance.
|
||||
buf = append(buf, byte(c))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue