aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/html
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2013-08-03 16:01:04 +1000
committerRob Pike <r@golang.org>2013-08-03 16:01:04 +1000
commit16c9d3616af86c7d150894f6ddd9fa527d9eda9a (patch)
tree72be369302e21a61e1e71ad395cbc0ba87e43233 /src/pkg/html
parent8a7def2b3b8fc801eb4f02e58328e84ee311910e (diff)
downloadgo-16c9d3616af86c7d150894f6ddd9fa527d9eda9a.tar.xz
various: deleted unused items
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/12396043
Diffstat (limited to 'src/pkg/html')
-rw-r--r--src/pkg/html/escape.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/pkg/html/escape.go b/src/pkg/html/escape.go
index eff0384e08..dd5dfa7cd7 100644
--- a/src/pkg/html/escape.go
+++ b/src/pkg/html/escape.go
@@ -187,16 +187,6 @@ func unescape(b []byte) []byte {
return b
}
-// lower lower-cases the A-Z bytes in b in-place, so that "aBc" becomes "abc".
-func lower(b []byte) []byte {
- for i, c := range b {
- if 'A' <= c && c <= 'Z' {
- b[i] = c + 'a' - 'A'
- }
- }
- return b
-}
-
const escapedChars = `&'<>"`
func escape(w writer, s string) error {