Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bec4d038 authored by Jeongik Cha's avatar Jeongik Cha
Browse files

Fix discordance between marshall/unmarshall for ArchType

Test: m nothing
Bug: 158843648
Change-Id: Id9901d49b368c2730830e1c95447b596d9e52042
parent 0774773a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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{}