File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/library/scala/concurrent/duration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ object Duration {
94
94
timeUnitLabels flatMap { case (unit, names) => expandLabels(names) map (_ -> unit) } toMap
95
95
96
96
/**
97
- * Extract length and time unit out of a string, where the format must match the description for [[Duration$.apply(String):Duration apply(String) ]].
97
+ * Extract length and time unit out of a string, where the format must match the description for [[Duration$.apply(s: String)* apply(String) ]].
98
98
* The extractor will not match for malformed strings or non-finite durations.
99
99
*/
100
100
def unapply (s : String ): Option [(Long , TimeUnit )] =
@@ -355,7 +355,7 @@ object Duration {
355
355
* - isomorphic to `java.lang.Double` when it comes to infinite or undefined values
356
356
*
357
357
* The conversion between Duration and Double is done using [[Duration.toUnit ]] (with unit NANOSECONDS)
358
- * and [[Duration$.fromNanos(Double):Duration Duration.fromNanos(Double) ]].
358
+ * and [[Duration$.fromNanos(nanos: Double)* Duration.fromNanos(Double) ]]
359
359
*
360
360
* <h2>Ordering</h2>
361
361
*
You can’t perform that action at this time.
0 commit comments