Drop the "?" from "writer1.copy_from_slice?".

This commit is contained in:
Nigel Tao committed 2017-10-13 11:44:53 +11:00
1 parent 587be36759
commit a33f744da5
10 files changed
+142 -97

No files matched your search

+3 -3
View File
@@ -41,9 +41,9 @@ var StatusList = [...]Status{
{t.IDError, "bad receiver"},
{t.IDError, "bad argument"},
{t.IDError, "initializer not called"},
{t.IDError, "closed for writes"},
{t.IDError, "unexpected EOF"}, // Used if reading when closed == true.
{t.IDSuspension, "short read"}, // Used if reading when closed == false.
{t.IDError, "closed for writes"}, // TODO: is this unused? Should callee or caller check closed-ness?
{t.IDError, "unexpected EOF"}, // Used if reading when closed == true.
{t.IDSuspension, "short read"}, // Used if reading when closed == false.
{t.IDSuspension, "short write"},
}