mirror of
https://github.com/golang/go.git
synced 2025-10-19 19:13:18 +00:00
time: remove an unnecessary comment from quote
This commit is contained in:
parent
4da6dc9926
commit
5445b54771
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue