Skip to content

Commit 9a41110

Browse files
author
Vojin Jovanovic
committed
Minor text fixes for utilities in SIP 14.
1 parent 9aefeb2 commit 9a41110

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sips/pending/_posts/2012-01-21-futures-promises.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ Abstract `Duration` contains methods that allow :
682682
4. Minimum and maximum between `this` duration and the one supplied in the argument (`min`, `max`).
683683
5. Check if the duration is finite (`finite_?`).
684684

685-
`Duration` instances can be instantiated in the following ways:
685+
`Duration` can be instantiated in the following ways:
686686

687687
1. Implicitly from types `Int` and `Long`. For example `val d = 100 millis`.
688688
2. By passing a `Long` length and a `java.util.concurrent.TimeUnit`.
@@ -705,9 +705,6 @@ Examples:
705705
// pattern matching
706706
val Duration(length, unit) = 5 millis
707707

708-
<!--
709-
The `Duration` class also provides adequate Java API for above mentioned operator methods.
710-
-->
711708

712709
## References
713710
1. [The Task-Based Asychronous Pattern, Stephen Toub, Microsoft, April 2011][1]

0 commit comments

Comments
 (0)