some typo

Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
This commit is contained in:
yanxuean
2017-11-22 11:48:09 +08:00
parent 2b1c915f82
commit 81307793b7
4 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ func Tricolor(roots []Node, refs func(ref Node) ([]Node, error)) (map[Node]struc
var (
grays []Node // maintain a gray "stack"
seen = map[Node]struct{}{} // or not "white", basically "seen"
reachable = map[Node]struct{}{} // or "block", in tri-color parlance
reachable = map[Node]struct{}{} // or "black", in tri-color parlance
)
grays = append(grays, roots...)