Remove unnecessary type conversions

This commit is contained in:
Bjørn Erik Pedersen
2016-03-14 20:31:31 +01:00
parent 3a82ae7114
commit 70739c972e
6 changed files with 9 additions and 9 deletions

View File

@@ -197,7 +197,7 @@ func checkCandidateSrcset(l *absurllexer) {
section := l.content[l.pos+len(m.quote) : l.pos+posLastQuote+1]
fields := bytes.Fields(section)
l.w.Write([]byte(m.quote))
l.w.Write(m.quote)
for i, f := range fields {
if f[0] == '/' {
l.w.Write(l.path)