std: rework signature of tcp::write common impl to make io::writer possible
This commit is contained in:
parent
28ab8b841a
commit
af3fa5306d
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ fn write_future(sock: tcp_socket, raw_write_data: [u8]/~)
|
|||
let socket_data_ptr = ptr::addr_of(*(sock.socket_data));
|
||||
future_spawn {||
|
||||
let data_copy = copy(raw_write_data);
|
||||
write_common_impl(socket_data_ptr, data_copy)
|
||||
write_common_impl(socket_data_ptr, data_copy);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue