Commit 20d8c1eb authored by Marc-André Lureau's avatar Marc-André Lureau
Browse files

zb: simplify From<Proxy> lifetime


Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
parent 65efd1e9
......@@ -597,8 +597,8 @@ impl std::ops::Drop for SignalStream<'_> {
}
}
impl<'azync, 'sync: 'azync> From<crate::Proxy<'sync>> for Proxy<'azync> {
fn from(proxy: crate::Proxy<'sync>) -> Self {
impl<'a> From<crate::Proxy<'a>> for Proxy<'a> {
fn from(proxy: crate::Proxy<'a>) -> Self {
proxy.into_inner()
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment