Add an additional static type assertion
This commit is contained in:
parent
33dd596ab4
commit
52d0b8779a
1 changed files with 2 additions and 0 deletions
|
|
@ -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{}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue