Skip to content

Commit 062b576

Browse files
committed
doco oops nqp::makeclosure => nqp::takeclosure
1 parent b8b44d8 commit 062b576

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/ops.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,11 +1249,6 @@ actually want to access an attribute of the container.
12491249

12501250
NQP equivalent for Perl 6's `$obj.HOW`.
12511251

1252-
## makeclosure
1253-
* `makeclosure(Block $innerblock)`
1254-
1255-
Creates a lexical closure from the block's outer scope.
1256-
12571252
## rebless
12581253
* `rebless(Mu $obj, Mu:T $type)`
12591254

@@ -1269,6 +1264,11 @@ Return the name of the REPR for the given object.
12691264

12701265
Replace `$obj`'s WHO. Return `$obj`.
12711266

1267+
## takeclosure
1268+
* `takeclosure(Block $innerblock)`
1269+
1270+
Creates a lexical closure from the block's outer scope.
1271+
12721272
## who
12731273
* `who(Mu $obj)`
12741274

0 commit comments

Comments
 (0)