Fix discordance between marshall/unmarshall for ArchType
Test: m nothing Bug: 158843648 Change-Id: Id9901d49b368c2730830e1c95447b596d9e52042
This commit is contained in:
@@ -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{}
|
||||
|
Reference in New Issue
Block a user