Fix Err fallout for graph/iterator.Null iterator

This commit is contained in:
Andrew Dunham 2015-04-14 16:57:57 -07:00
parent ebb45d4c14
commit f1d7600c34

View file

@ -88,6 +88,10 @@ func (it *Null) Next() bool {
return false
}
func (it *Null) Err() error {
return nil
}
func (it *Null) Result() graph.Value {
return nil
}