We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d6af78 commit 2fb5c4bCopy full SHA for 2fb5c4b
1 file changed
Binary/Basic.lean
@@ -145,7 +145,7 @@ export Encode (put)
145
attribute [specialize] Encode.put
146
147
@[always_inline]
148
-def Put.run (capacity : Nat := 128) : Put → ByteArray := fun x =>
+def Put.run (x : Put) (capacity : Nat := 128) : ByteArray :=
149
Prod.snd <$> x (ByteArray.emptyWithCapacity capacity)
150
151
0 commit comments