aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-074/luca-ferrari/raku/ch-2.p62
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-074/luca-ferrari/raku/ch-2.p6 b/challenge-074/luca-ferrari/raku/ch-2.p6
index 0ce2abe239..e8ea2d376f 100644
--- a/challenge-074/luca-ferrari/raku/ch-2.p6
+++ b/challenge-074/luca-ferrari/raku/ch-2.p6
@@ -23,7 +23,7 @@ sub MAIN( Str $S where { $S.chars > 2 } ) {
%counting{ $_ }++ for $S.substr( 0 .. $index ).comb( '', :skip-empty );
my $fnr = $S.substr( 0 .. $index )
.comb( '', :skip-empty )
- .first( { %counting{ $_ }:exists && %counting{ $_ } == 1 } )
+ .first( { %counting{ $_ }:exists && %counting{ $_ } == 1 }, :end )
// '#';
@result.push: $fnr;