graph/topo: conform example function syntax to pkg.go.dev behaviour
MODIFY
graph/topo/2sat_example_test.go
graph/topo/2sat_example_test.go
@@ -174,7 +174,7 @@ type node struct {
func (n node) ID() int64 { return n.id }
func (n node) negated() node { return node{-n.id, n.name} }
-func ExampleTarjanSCC_2sat() {
+func ExampleTarjanSCC_twoSAT() {
for i, s := range systems {
state, ok := twoSat(strings.NewReader(s))
if !ok {

graph/topo: conform example function syntax to pkg.go.dev behaviour