Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve example. The showcased construct is redundant with the constr…
…aint.

Removed the constraint.
  • Loading branch information
skids committed Apr 15, 2015
1 parent e6e4d7e commit 1129a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Language/objects.pod
Expand Up @@ -102,7 +102,7 @@ sub f(Int $x) {
Although, in most cases, the L<C<.isa>|isa> method will suffice:
=for code :allow<B L>
sub f(Int $x) {
sub f($x) {
if $xB<.L<isa>>(Int) {
...
}
Expand Down

0 comments on commit 1129a3f

Please sign in to comment.