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

zb: simplify AsRef<Proxy>


Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
parent 67b90c4f
......@@ -265,8 +265,8 @@ impl<'a> Proxy<'a> {
}
}
impl<'asref, 'p: 'asref> std::convert::AsRef<Proxy<'asref>> for Proxy<'p> {
fn as_ref(&self) -> &Proxy<'asref> {
impl<'a> std::convert::AsRef<Proxy<'a>> for Proxy<'a> {
fn as_ref(&self) -> &Proxy<'a> {
&self
}
}
......
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