From: Fuji, Goro Date: Sat, 25 Sep 2010 05:16:46 +0000 (+0900) Subject: Tidy X-Git-Tag: 0.72~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c5940bae3f593d389abce62204268e1a4be33f7d;p=gitmo%2FMouse.git Tidy --- diff --git a/lib/Mouse/Meta/TypeConstraint.pm b/lib/Mouse/Meta/TypeConstraint.pm index 182ee88..1df270d 100644 --- a/lib/Mouse/Meta/TypeConstraint.pm +++ b/lib/Mouse/Meta/TypeConstraint.pm @@ -48,13 +48,9 @@ sub new { return $self; } -sub create_child_type{ +sub create_child_type { my $self = shift; - return ref($self)->new( - @_, - # and inherits other attributes from the parent - parent => $self, - ); + return ref($self)->new(@_, parent => $self); } sub name;