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

Unified Diff: packages/pool/README.md

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 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 | « packages/pool/CHANGELOG.md ('k') | packages/pool/lib/pool.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/pool/README.md
diff --git a/packages/pool/README.md b/packages/pool/README.md
index 898728867ecdf306cf82e2ad985458c880ca614f..641e772871758e910a4869bed57e0be88636cd3f 100644
--- a/packages/pool/README.md
+++ b/packages/pool/README.md
@@ -13,7 +13,7 @@ final pool = new Pool(10, timeout: new Duration(seconds: 30));
Future<String> readFile(String path) {
// Since the call to [File.readAsString] is within [withResource], no more
// than ten files will be open at once.
- return pool.withResource(() => return new File(path).readAsString());
+ return pool.withResource(() => new File(path).readAsString());
}
```
« no previous file with comments | « packages/pool/CHANGELOG.md ('k') | packages/pool/lib/pool.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698