Skip to content

Commit e393790

Browse files
committed
http/headers.tld: Use '?' form
1 parent 97770a0 commit e393790

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http/headers.tld

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interface headers
22
const clone: (self) -> (headers)
3-
const append: (self, string, string, nil|boolean) -> ()
3+
const append: (self, string, string, boolean?) -> ()
44
const each: (self) -> ((self) -> (string, string, boolean))
55
const has: (self, string) -> (boolean)
66
const delete: (self, string) -> (boolean)
@@ -11,7 +11,7 @@ interface headers
1111
const modifyi: (self, integer, string, boolean?) -> ()
1212
const upsert: (self, string, string, boolean?) -> ()
1313
const sort: (self) -> ()
14-
const dump: (self, nil|file, nil|string) -> ()
14+
const dump: (self, file?, string?) -> ()
1515
end
1616

1717
new : () -> (headers)

0 commit comments

Comments
 (0)