Merge "Fix discordance between marshall/unmarshall for ArchType"

This commit is contained in:
Treehugger Robot 2021-04-16 03:36:29 +00:00 committed by Gerrit Code Review
commit 53932eca91
1 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,6 @@ import (
"fmt"
"reflect"
"runtime"
"strconv"
"strings"
"github.com/google/blueprint"
@ -176,7 +175,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{}