Skip to content

Commit 640392a

Browse files
committed
Fix comment in instrumenter.instrument
1 parent 62a16eb commit 640392a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

instrumenter.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ type instrumenter struct {
4343
exprs int // counter to generate unique variables for switch expressions
4444
}
4545

46-
// instrument modifies the code of the Go package in dir by adding counters for
47-
// code coverage. If base is given, only that file is instrumented.
46+
// instrument modifies the code of the Go package in srcDir by adding counters
47+
// for code coverage, writing the instrumented code to dstDir.
48+
// If base is given, only that file is instrumented.
4849
func (i *instrumenter) instrument(srcDir, base, dstDir string) {
4950
i.fset = token.NewFileSet()
5051

0 commit comments

Comments
 (0)