From 39cd1b1db7da2a605c0034613626e885636a2a09 Mon Sep 17 00:00:00 2001 From: Fred Emmott Date: Thu, 24 Oct 2019 11:12:22 -0700 Subject: [PATCH] byref -> inout --- src/Assert.hack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Assert.hack b/src/Assert.hack index 43fc9fa..073b1c3 100644 --- a/src/Assert.hack +++ b/src/Assert.hack @@ -668,7 +668,7 @@ abstract class Assert { private static function sorted(Traversable $x): ImmVector { $copy = Vector::fromItems($x); - \sort(&$copy); + \sort(inout $copy); return $copy->toImmVector(); } }