commit | aa7ca6fff5fcae522c14e1753ce64d871456bee1 | [log] [tgz] |
---|---|---|
author | David Morgan <davidmorgan@google.com> | Wed Jul 05 22:45:45 2017 +0200 |
committer | Natalie Weizenbaum <nweiz@google.com> | Wed Jul 05 13:45:45 2017 -0700 |
tree | 8ab4c0a05c309f11d6b2483a9af3f6bf9b489c47 | |
parent | 6b5e96387e18d0433308a3b79dffc8fa6c5e8212 [diff] |
Update README.md (#8)
diff --git a/README.md b/README.md index 8987288..641e772 100644 --- a/README.md +++ b/README.md
@@ -13,7 +13,7 @@ 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()); } ```