]> Cypherpunks.ru repositories - gostls13.git/commit
mime: remove allocation introduced in recent fix
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 20 Nov 2018 18:35:56 +0000 (18:35 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 20 Nov 2018 19:09:38 +0000 (19:09 +0000)
commitaadffd5b675254ce6235b74353ac260d2a5848e1
tree83423ba81dde3f9ab52f8d8290c4b9e37fd0379d
parent9ef145532420409a60542ec69ae3ed20a7d7c401
mime: remove allocation introduced in recent fix

CL 150417 was submitted before I could recommend this change to remove
an unnecessary allocation.

Updates #28849

Change-Id: I4cd655f62bb3d00eda6c997f074785385bceee0c
Reviewed-on: https://go-review.googlesource.com/c/150498
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/mime/mediatype.go