Permalink
Browse files

Nitpicking.

  • Loading branch information...
1 parent 724eea1 commit a670103ab5a6487913ee90b6bab5a99b3eb7d153 @rafl committed Aug 1, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/MooseX/Method/Signatures.pm
View
4 lib/MooseX/Method/Signatures.pm
@@ -127,7 +127,7 @@ sub strip_traits {
my $linestr = $ctx->get_linestr;
unless (substr($linestr, $ctx->offset, 2) eq 'is') {
- # No is means no traits
+ # No 'is' means no traits
return;
}
@@ -137,7 +137,7 @@ sub strip_traits {
# Eat the 'is' so we can call strip_names_and_args
substr($linestr, $ctx->offset, 2) = '';
$ctx->set_linestr($linestr);
- push(@traits, @{ $ctx->strip_names_and_args });
+ push @traits, @{ $ctx->strip_names_and_args };
# Get the current linestr so that the loop can look for more 'is'
$ctx->skipspace;
$linestr = $ctx->get_linestr;

0 comments on commit a670103

Please sign in to comment.