Skip to content

Commit

Permalink
fix parameter style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pgier committed Nov 22, 2019
1 parent 9602526 commit a7e5361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ident.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (i *Ident) LastPart() string {
}

// ReplaceSuffix creates a new Ident with the original suffix replaced by new
func (i Ident) ReplaceSuffix(orig string, new string) Ident {
func (i Ident) ReplaceSuffix(orig, new string) Ident {
return New(strings.TrimSuffix(i.Original, orig) + new)
}

Expand Down

0 comments on commit a7e5361

Please sign in to comment.