You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many places copy is used with nil used as destination. Because of user-friendliness of copy, this is not causing a panic (min(len(dst), len(src)) bytes are copied, and len(nil) is `0)).
Because invalid operation is used in both tests and implementation, errors were hidden.
Additionally, return value of copy is ignored.
The text was updated successfully, but these errors were encountered:
In many places
copy
is used withnil
used as destination. Because of user-friendliness of copy, this is not causing a panic (min(len(dst), len(src))
bytes are copied, andlen(nil)
is `0)).Because invalid operation is used in both tests and implementation, errors were hidden.
Additionally, return value of
copy
is ignored.The text was updated successfully, but these errors were encountered: