From: Dave Rolsky Date: Sun, 30 Sep 2012 15:58:46 +0000 (-0500) Subject: Fix weird formatting X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e1ce2ecdafddc8ac9d8c223416499323b8b2bc2;p=gitmo%2FMoose.git Fix weird formatting --- diff --git a/lib/Moose/Meta/Method/Accessor/Native/Writer.pm b/lib/Moose/Meta/Method/Accessor/Native/Writer.pm index 06f3042..57a4a70 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Writer.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Writer.pm @@ -79,9 +79,8 @@ sub _constraint_must_be_checked { my $attr = $self->associated_attribute; return $attr->has_type_constraint - && (!$self->_is_root_type( $attr->type_constraint ) - || ( $attr->should_coerce && $attr->type_constraint->has_coercion) - ); + && ( !$self->_is_root_type( $attr->type_constraint ) + || ( $attr->should_coerce && $attr->type_constraint->has_coercion ) ); } sub _is_root_type {