Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
byref -> inout
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Oct 24, 2019
1 parent a8cceca commit 39cd1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Assert.hack
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ abstract class Assert {

private static function sorted<T>(Traversable<T> $x): ImmVector<T> {
$copy = Vector::fromItems($x);
\sort(&$copy);
\sort(inout $copy);
return $copy->toImmVector();
}
}

0 comments on commit 39cd1b1

Please sign in to comment.