Skip to content

Commit

Permalink
Revert "Update lib_eio/flow.ml"
Browse files Browse the repository at this point in the history
This reverts commit 190f0ee.
  • Loading branch information
haesbaert committed Sep 28, 2022
1 parent 190f0ee commit 82b41f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_eio/flow.ml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ let string_source s = cstruct_source [Cstruct.of_string s]
class virtual sink = object (_ : <Generic.t; ..>)
method probe _ = None
method virtual copy : 'a. (#source as 'a) -> unit
method virtual write : Cstruct.t list -> int
method virtual write_from : Cstruct.t -> unit
end

let write (t : #sink) (buf : Cstruct.t) = t#write_from buf
Expand Down

0 comments on commit 82b41f6

Please sign in to comment.