mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 04:18:28 +00:00
Remove redundant Deref
implementation
This commit is contained in:
parent
65c83e9dd5
commit
891b004592
@ -1,4 +1,4 @@
|
||||
use std::{cmp::Ordering, fmt, ops::Deref, rc::Rc};
|
||||
use std::{cmp::Ordering, fmt, rc::Rc};
|
||||
|
||||
use super::tri_mesh::TriMesh;
|
||||
|
||||
@ -57,14 +57,6 @@ impl<T> Clone for Handle<T> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> Deref for Handle<T> {
|
||||
type Target = T;
|
||||
|
||||
fn deref(&self) -> &T {
|
||||
self.inner.output()
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> Eq for Handle<T> {}
|
||||
|
||||
impl<T> Ord for Handle<T> {
|
||||
|
Loading…
Reference in New Issue
Block a user