Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mention/index return-rw
Closes #453
  • Loading branch information
zoffixznet committed Apr 18, 2016
1 parent f3e8184 commit c92cf2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/Language/control.pod
Expand Up @@ -680,6 +680,10 @@ All these forms may produce a return value the same way C<loop> does.
=comment TODO
=head1 X<return-rw|control flow>
Same as C<return>, but returns a writable container.
=head1 X<once|control flow>
A block prefix with C<once> will be executed exactly once, even if placed inside a
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Routine.pod
Expand Up @@ -156,7 +156,7 @@ produces
=end code
Note that C<return> marks return values as read only; if you need an early
exit from an C<is rw> routine, you have to use C<return-rw> instead.
exit from an C<is rw> routine, you have to use X<C<return-rw>|return-rw> instead.
=head2 trait is export
Expand Down

0 comments on commit c92cf2c

Please sign in to comment.