mirror of
https://github.com/NLnetLabs/routinator.git
synced 2024-05-19 06:50:04 +00:00
Compatibility with Rust 1.30.
This commit is contained in:
@ -230,7 +230,7 @@ impl Response {
|
||||
fn write_all<T: AsRef<[u8]> + 'static + Send>(
|
||||
sock: TcpStream, t: T
|
||||
) -> Self {
|
||||
Self(Box::new(write_all(sock, t).map(|_| ())))
|
||||
Response(Box::new(write_all(sock, t).map(|_| ())))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user