mirror of
https://github.com/soypat/lneto.git
synced 2026-09-02 04:49:02 +00:00
cull fmt package use and prevent aggressive DCE in MWE example with TinyGo
This commit is contained in:
+1
-2
@@ -2,7 +2,6 @@ package lneto
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
@@ -82,7 +81,7 @@ type BitPosErr struct {
|
||||
}
|
||||
|
||||
func (bpe *BitPosErr) Error() string {
|
||||
return fmt.Sprintf("%s at bits %d..%d", bpe.Err.Error(), bpe.BitStart, bpe.BitStart+bpe.BitLen)
|
||||
return bpe.Err.Error()
|
||||
}
|
||||
|
||||
func (bpe *BitPosErr) AppendError(dst []byte) []byte {
|
||||
|
||||
Reference in New Issue
Block a user