slight change to handle internals

master
Avril 4 years ago
parent cd24d93c89
commit 24093cd51b
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -34,7 +34,7 @@ impl<T: GhostHandle> AsHandle<T> for *mut Handle<T>
} }
impl<'a, T: GhostHandle, U> AsHandle<T> for &'a mut U impl<'a, T: GhostHandle, U> AsHandle<T> for &'a mut U
where &'a mut U: AsHandle<T> where U: AsHandle<T>
{ {
fn as_handle(&mut self) -> &mut Handle<T> fn as_handle(&mut self) -> &mut Handle<T>
{ {

Loading…
Cancel
Save