Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Unified Diff: lib/core/future.dart

Issue 10905165: Fix some doc comments that didn't use Markdown syntax for code blocks. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/future.dart
===================================================================
--- lib/core/future.dart (revision 12055)
+++ lib/core/future.dart (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -145,17 +145,17 @@
* A service that provides values to callers, and wants to return [Future]s can
* use a [Completer] as follows:
*
- * Completer completer = new Completer();
- * // send future object back to client...
- * return completer.future;
- * ...
+ * Completer completer = new Completer();
+ * // send future object back to client...
+ * return completer.future;
+ * ...
*
- * // later when value is available, call:
- * completer.complete(value);
+ * // later when value is available, call:
+ * completer.complete(value);
*
- * // alternatively, if the service cannot produce the value, it
- * // can provide an exception:
- * completer.completeException(exception);
+ * // alternatively, if the service cannot produce the value, it
+ * // can provide an exception:
+ * completer.completeException(exception);
*
*/
interface Completer<T> default CompleterImpl<T> {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698