Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
schveiguy committed Mar 17, 2017
1 parent 1caa1fc commit 33b41c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/time.d
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,8 @@ public:
}

/++
Returns `true` if this duration is non-zero.
Allow Duration to be used as a boolean.
Returns: `true` if this duration is non-zero.
+/
bool opCast(T : bool)() const nothrow @nogc
{
Expand Down

0 comments on commit 33b41c1

Please sign in to comment.