Checking in changes prior to tagging of version 0.72.
[gitmo/Mouse.git] / lib / Mouse / Meta / TypeConstraint.pm
index 182ee88..94c0f66 100644 (file)
@@ -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;
@@ -245,7 +241,7 @@ Mouse::Meta::TypeConstraint - The Mouse Type Constraint metaclass
 
 =head1 VERSION
 
-This document describes Mouse version 0.71
+This document describes Mouse version 0.72
 
 =head1 DESCRIPTION