From eacbe6a678ec08751543868ef19f9197c167fe60 Mon Sep 17 00:00:00 2001 From: Ian Gudger Date: Wed, 15 Aug 2018 17:00:54 -0700 Subject: Remove obsolete comment about panicking PiperOrigin-RevId: 208908702 Change-Id: I6be9c765c257a9ddb1a965a03942ab3fc3a34a43 --- pkg/tcpip/buffer/view.go | 1 - 1 file changed, 1 deletion(-) (limited to 'pkg/tcpip/buffer') diff --git a/pkg/tcpip/buffer/view.go b/pkg/tcpip/buffer/view.go index bbb4e1d24..85ae38ac8 100644 --- a/pkg/tcpip/buffer/view.go +++ b/pkg/tcpip/buffer/view.go @@ -121,7 +121,6 @@ func (vv *VectorisedView) Clone(buffer []View) VectorisedView { } // First returns the first view of the vectorised view. -// It panics if the vectorised view is empty. func (vv *VectorisedView) First() View { if len(vv.views) == 0 { return nil -- cgit v1.2.3