Add semi-colon in code that generates entire assignment, which makes snippets more...
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / String / chop.pm
index 92d5f17..e724ab0 100644 (file)
@@ -21,7 +21,7 @@ sub _potential_value {
 sub _inline_optimized_set_new_value {
     my ( $self, $inv, $new, $slot_access ) = @_;
 
-    return "chop $slot_access;";
+    return "chop $slot_access";
 }
 
 1;