Skip to content

Commit dcdcde2

Browse files
committed
fix comment
1 parent 0b1bfc5 commit dcdcde2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wall-clock/wall_clock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func NewWallclock() *Wallclock {
3434

3535
// Usage:
3636
// at the top of any closure:
37-
// defer debug.NewWallclock().LogDuration()V
37+
// defer debug.NewWallclock().LogDuration()
3838
// this will slog duration_ms during the defer (exit from closure) to measure wallclock time consumed by the closure
3939
// the source file/line of the caller will be displayed, if possible, rather than of this function.
4040
// to isolate to a subpart of a function, just open a new closure:

0 commit comments

Comments
 (0)