Skip to content

Commit

Permalink
style(translage): unnecessary placeholder assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Petrukhin committed Jun 10, 2020
1 parent 6407db4 commit 6e34c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translate.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func NewTranslator(from, to string) *Translator {
}

if fromEnd != utf8.RuneError {
_ = tr.addRune(fromEnd, toStart, singleRunes)
tr.addRune(fromEnd, toStart, singleRunes)
}

tr.reverted = reverted
Expand Down

0 comments on commit 6e34c26

Please sign in to comment.