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

Unified Diff: lib/src/utils.dart

Issue 1944603004: Fix one final strong-mode warning. (Closed) Base URL: git@github.com:dart-lang/http@master
Patch Set: Created 4 years, 8 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 | « lib/src/mock_client.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/utils.dart
diff --git a/lib/src/utils.dart b/lib/src/utils.dart
index a0f5e3612b8f1d7dace086cc42b66d84c8cf4735..86a6690fb5c9574b3e9e21ebb630190b5f6708eb 100644
--- a/lib/src/utils.dart
+++ b/lib/src/utils.dart
@@ -117,9 +117,6 @@ Future writeStreamToSink(Stream stream, EventSink sink) {
return completer.future;
}
-/// Returns a [Future] that asynchronously completes to `null`.
-Future get async => new Future.value();
-
/// A pair of values.
class Pair<E, F> {
E first;
« no previous file with comments | « lib/src/mock_client.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698