Index: lib/src/result.dart |
diff --git a/lib/src/result.dart b/lib/src/result.dart |
index 51db558c3e4187bf3d83c9b515fa9934dc0cbcf6..7c45846e1c38fe5d7e2c4b08e6c67948117a1842 100644 |
--- a/lib/src/result.dart |
+++ b/lib/src/result.dart |
@@ -90,7 +90,7 @@ abstract class Result<T> { |
/// If [future] completes with an error, the returned future completes with |
/// the same error. |
static Future<T> release<T>(Future<Result<T>> future) => |
- future.then<Future<T>>((result) => result.asFuture); |
+ future.then<T>((result) => result.asFuture); |
/// Capture the results of a stream into a stream of [Result] values. |
/// |