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

Commit 53932eca authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix discordance between marshall/unmarshall for ArchType"

parents 7b4fb519 bec4d038
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"
@@ -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{}