We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 785cd66 commit 75023aeCopy full SHA for 75023ae
go/ast/inspector/cursor.go
@@ -40,7 +40,7 @@ type Cursor struct {
40
// Root returns a cursor for the virtual root node,
41
// whose children are the files provided to [New].
42
//
43
-// Its [Cursor.Node] and [Cursor.Stack] methods return nil.
+// Its [Cursor.Node] method return nil.
44
func (in *Inspector) Root() Cursor {
45
return Cursor{in, -1}
46
}
0 commit comments