Skip to content

Commit

Permalink
Remove unneeded BUILD method
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jan 14, 2020
1 parent 0e9f96e commit 8cfa659
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core.c/StrDistance.pm6
Expand Up @@ -3,8 +3,6 @@ my class StrDistance is Cool {
has Str $.after;
has Int $!distance;

submethod BUILD(Str() :$!before, :$!after --> Nil) { }

method Bool() {
$.before ne $.after
}
Expand Down

0 comments on commit 8cfa659

Please sign in to comment.