diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart index a741bbd56b2..82765726441 100644 --- a/sdk/lib/async/future.dart +++ b/sdk/lib/async/future.dart @@ -1012,7 +1012,7 @@ extension FutureExtensions on Future { /// If [test] is supplied, only catches errors of type [E] /// where [test] returns `true`. /// If [E] is [Object], then all errors are potentially caught, - /// depending only on a supplied [test].toString() + /// depending only on a supplied [test]. /// /// If the error is caught, /// the returned future completes with the result of calling [handleError]