From a154e45cce79b0c2264c1e1cd37a3d1bf5bc6154 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Thu, 5 Jan 2023 17:29:14 -0500 Subject: Rust API: Lots and lots of clippy changes --- rust/src/basicblock.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rust/src/basicblock.rs') 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 { - &*self.source + &self.source } pub fn target(&self) -> &BasicBlock { - &*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, } } } -- cgit v1.3.1