Skip to content

Commit

Permalink
Fix typo in compute documentation: "captures" -> "capture" (#106624)
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker1024 authored Jun 27, 2022
1 parent 02ad971 commit 78c9271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/foundation/isolates.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ typedef ComputeImpl = Future<R> Function<Q, R>(ComputeCallback<Q, R> callback, Q
///
/// Using closures must be done with care. Due to
/// [dart-lang/sdk#36983](https://github.com/dart-lang/sdk/issues/36983) a
/// closure may captures objects that, while not directly used in the closure
/// closure may capture objects that, while not directly used in the closure
/// itself, may prevent it from being sent to an isolate.
/// {@endtemplate}
///
Expand Down

0 comments on commit 78c9271

Please sign in to comment.