Add an additional static type assertion

This commit is contained in:
Andrew Dunham 2015-04-15 11:17:33 -07:00
parent 33dd596ab4
commit 52d0b8779a

View file

@ -156,3 +156,5 @@ func (it *Optional) Stats() graph.IteratorStats {
func (it *Optional) Size() (int64, bool) { func (it *Optional) Size() (int64, bool) {
return 0, true return 0, true
} }
var _ graph.Iterator = &Optional{}