summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorsaruman9 <rum.274.4@gmail.com>2025-06-06 13:16:05 +0300
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-06-13 16:45:00 -0400
commiteb7b655e219965a8169394074012532824004549 (patch)
tree3be0a7b8b3c5817e2809829057a473b59c74e654 /rust/src
parent6a65bc11674312beb455426502cb791d0db40106 (diff)
[Rust] Make the `target` field public in `Edge`
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/basic_block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/basic_block.rs b/rust/src/basic_block.rs
index d12bb3e9..67b85987 100644
--- a/rust/src/basic_block.rs
+++ b/rust/src/basic_block.rs
@@ -30,7 +30,7 @@ pub struct Edge<'a, C: 'a + BlockContext> {
pub branch: BranchType,
pub back_edge: bool,
pub source: Guard<'a, BasicBlock<C>>,
- target: Guard<'a, BasicBlock<C>>,
+ pub target: Guard<'a, BasicBlock<C>>,
}
impl<'a, C: 'a + fmt::Debug + BlockContext> fmt::Debug for Edge<'a, C> {