Skip to content

Commit

Permalink
Don't need to convert that 0 to a time.Duration
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin committed Sep 24, 2014
1 parent 9874ffc commit 55d5d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func New(scale float64) *Replay {
func (r *Replay) Run(s Source, action Action) time.Duration {
event := s.Next()
if event == nil {
return time.Duration(0)
return 0
}

r.realStart = r.now()
Expand Down

0 comments on commit 55d5d2c

Please sign in to comment.