summaryrefslogtreecommitdiff
path: root/rust/src/basicblock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/basicblock.rs')
-rw-r--r--rust/src/basicblock.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/basicblock.rs b/rust/src/basicblock.rs
index c59e8d22..cdd7186e 100644
--- a/rust/src/basicblock.rs
+++ b/rust/src/basicblock.rs
@@ -42,11 +42,11 @@ impl<'a, C: 'a + BlockContext> Edge<'a, C> {
}
pub fn source(&self) -> &BasicBlock<C> {
- &*self.source
+ &self.source
}
pub fn target(&self) -> &BasicBlock<C> {
- &*self.target
+ &self.target
}
}
@@ -100,8 +100,8 @@ unsafe impl<'a, C: 'a + BlockContext> CoreArrayWrapper<'a> for Edge<'a, C> {
Edge {
branch: raw.type_,
back_edge: raw.backEdge,
- source: source,
- target: target,
+ source,
+ target,
}
}
}