We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c8b83e commit 3125caeCopy full SHA for 3125cae
src/edge_differences.rs
@@ -7,20 +7,6 @@ use crate::bindings;
7
#[repr(transparent)]
8
struct LLEdgeDifferenceIterator(bindings::tsk_diff_iter_t);
9
10
-impl std::ops::Deref for LLEdgeDifferenceIterator {
11
- type Target = bindings::tsk_diff_iter_t;
12
-
13
- fn deref(&self) -> &Self::Target {
14
- &self.0
15
- }
16
-}
17
18
-impl std::ops::DerefMut for LLEdgeDifferenceIterator {
19
- fn deref_mut(&mut self) -> &mut Self::Target {
20
- &mut self.0
21
22
23
24
impl Drop for LLEdgeDifferenceIterator {
25
fn drop(&mut self) {
26
unsafe { bindings::tsk_diff_iter_free(&mut self.0) };
0 commit comments