Skip to content

Commit 40c06dc

Browse files
authored
docs: InnerList can be marshaled (#7)
This is purely documentation. Inner list marshaling is already supported and is useful (I'm working on HTTP Signatures). I propose to document it so that it doesn't go away.
1 parent cd24189 commit 40c06dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

encode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type StructuredFieldValue interface {
3131
// Marshal returns the HTTP Structured Value serialization of v
3232
// as defined in https://httpwg.org/specs/rfc8941.html#text-serialize.
3333
//
34-
// v must be a List, a Dictionary or an Item.
34+
// v must be a List, a Dictionary, an Item or an InnerList.
3535
func Marshal(v StructuredFieldValue) (string, error) {
3636
var b strings.Builder
3737
if err := v.marshalSFV(&b); err != nil {

0 commit comments

Comments
 (0)