Index: sdk/lib/async/future.dart |
diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart |
index a36ffa1c5dc0cf9e53c40da598ab15119f3ca19b..efa4144186a14e2a2a9536ac506e2ee5494365f0 100644 |
--- a/sdk/lib/async/future.dart |
+++ b/sdk/lib/async/future.dart |
@@ -42,7 +42,7 @@ part of dart.async; |
* this potential bug: |
* |
* var future = getFuture(); |
- * new Timer(5, (_) { |
+ * new Timer(new Duration(milliseconds: 5), () { |
* // The error-handler is only attached 5ms after the future has been |
* // received. If the future fails in the mean-time it will forward the |
* // error to the global error-handler, even though there is code (just |