diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-06-02 00:44:21 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-06-02 00:44:21 +0300 |
commit | b9079e22d201e92e54275480fb6007d7d9900141 (patch) | |
tree | 4a60221bcde5c8226788e501ab3df16c533185db /ui/messages/tstring | |
parent | 134604edce935a0017b50c16687429e0b25248e6 (diff) |
Gofmt
Diffstat (limited to 'ui/messages/tstring')
-rw-r--r-- | ui/messages/tstring/string.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/messages/tstring/string.go b/ui/messages/tstring/string.go index 770b4fb..3de876f 100644 --- a/ui/messages/tstring/string.go +++ b/ui/messages/tstring/string.go @@ -108,7 +108,7 @@ func (str TString) TrimLeft(fn func(rune) bool) TString { } func (str TString) TrimRight(fn func(rune) bool) TString { - for i := len(str)-1; i >= 0; i-- { + for i := len(str) - 1; i >= 0; i-- { if !fn(str[i].Char) { return append(NewBlankTString(), str[:i+1]...) } |