diff --git a/pkgs/ffi/lib/src/arena.dart b/pkgs/ffi/lib/src/arena.dart index 37861370c0..1baf4bfd72 100644 --- a/pkgs/ffi/lib/src/arena.dart +++ b/pkgs/ffi/lib/src/arena.dart @@ -118,7 +118,7 @@ class Arena implements Allocator { /// If the isolate is shut down, through `Isolate.kill()`, resources are _not_ /// cleaned up. R using( - R Function(Arena) computation, [ + R Function(Arena arena) computation, [ Allocator wrappedAllocator = calloc, ]) { final arena = Arena(wrappedAllocator);