Chore: code style improvements (#361)

This commit is contained in:
Kirill Motkov
2019-10-14 17:13:23 +08:00
committed by Dreamacro
parent 710cd5aed2
commit f4326daaa4
4 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ func (m *Mux) Read(b []byte) (int, error) {
if err != nil {
return 0, err
}
m.remain = m.remain - n
m.remain -= n
return n, nil
}