Skip to content

Commit 73a4b46

Browse files
committed
Remove unnecessary attribute from X role
The parameterization argument is just as visible and reliable as the attribute
1 parent 4d73e97 commit 73a4b46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Revision history for Template-Mustache
22

33
{{$NEXT}}
4+
- Some minor internal tweaks
45

56
1.2.4 2025-11-02T19:57:46+01:00
67
- First version as a Raku Community Module

lib/Template/Mustache.rakumod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ unit class Template::Mustache:ver<1.2.4>:auth<zef:raku-community-modules>:api<1.
22

33
role X[Str:D $err] is Exception { # UNCOVERABLE
44
has $.str;
5-
has $.err = $err;
6-
method message { "$!err$!str" }
5+
method message { "$err$!str" }
76
}
87

98
class X::CannotParse does X['Unable to parse'] { }

0 commit comments

Comments
 (0)