Skip to content

Commit

Permalink
Eliminate warnings where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
brjohnsn committed Feb 12, 2018
1 parent bc8a5d1 commit 56df0b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rx/schedulers.nim
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ type Scheduler* = object
template millis(t: TimeInterval): auto =
t.milliseconds + 1000 * t.seconds # fix me

template schedule*(s: Scheduler, p: expr) =
template schedule*(s: Scheduler, p: untyped) =
s.scheduleNow(p)

template schedule*(s: Scheduler, p, t: expr) =
template schedule*(s: Scheduler, p, t: untyped) =
s.scheduleLater(p, t)

proc immediateScheduler*(): Scheduler =
Expand Down
1 change: 0 additions & 1 deletion test.nim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import unittest, rx, future, times

type
UnexpectedOnError = object of Exception
TR[A] = object
elems: seq[A]
completed: bool
Expand Down

0 comments on commit 56df0b9

Please sign in to comment.