Commit c27a6eb
Marcello Seri
lib/channel_helper: use bytes for the io_vector
Lwt old-style io_vectors are still using strings, this was an oversight,
and there is a breaking change on that interface planned for lwt 5.0.0.
By using bytes and an unsafe conversion to string, we make sure that the
compiler does not violate immutability assumptions.
Signed-off-by: Marcello Seri <[email protected]>1 parent 68fc9cb commit c27a6eb
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
0 commit comments