-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It's safe to ignore the error from bytes.Buffer.Write methods.
They can't actually error, they have an error return so that they fit the io.Writer interface. (https://golang.org/src/bytes/buffer.go#L170) With the error removed the FIXME/panic in the caller should be safe to remove as well.
- Loading branch information
Zachary Scott
committed
Aug 31, 2018
1 parent
a2111dd
commit c38515e
Showing
1 changed file
with
9 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters