chore: cosmetic

This commit is contained in:
Alexandre Pujol 2024-05-25 22:26:51 +01:00
parent 9812c38b83
commit 865ce4c66b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 14 additions and 14 deletions

View file

@ -65,7 +65,7 @@ func (r *Abi) Equals(other any) bool {
}
func (r *Abi) String() string {
return renderTemplate(tokABI, r)
return renderTemplate(r.Kind(), r)
}
func (r *Abi) Constraint() constraint {
@ -96,7 +96,7 @@ func (r Alias) Equals(other any) bool {
}
func (r *Alias) String() string {
return renderTemplate(tokALIAS, r)
return renderTemplate(r.Kind(), r)
}
func (r *Alias) Constraint() constraint {
@ -131,7 +131,7 @@ func (r *Include) Equals(other any) bool {
}
func (r *Include) String() string {
return renderTemplate(tokINCLUDE, r)
return renderTemplate(r.Kind(), r)
}
func (r *Include) Constraint() constraint {