Fix discordance between marshall/unmarshall for ArchType

Test: m nothing
Bug: 158843648
Change-Id: Id9901d49b368c2730830e1c95447b596d9e52042
This commit is contained in:
Jeongik Cha
2021-04-15 08:55:38 +09:00
parent 0774773a65
commit bec4d038bb

View File

@@ -19,7 +19,6 @@ import (
"fmt"
"reflect"
"runtime"
"strconv"
"strings"
"github.com/google/blueprint"
@@ -175,7 +174,7 @@ func ArchTypeList() []ArchType {
// MarshalText allows an ArchType to be serialized through any encoder that supports
// encoding.TextMarshaler.
func (a ArchType) MarshalText() ([]byte, error) {
return []byte(strconv.Quote(a.String())), nil
return []byte(a.String()), nil
}
var _ encoding.TextMarshaler = ArchType{}