Skip to content

Commit eb7b655

Browse files
saruman9emesare
authored andcommitted
[Rust] Make the target field public in Edge
1 parent 6a65bc1 commit eb7b655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/src/basic_block.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub struct Edge<'a, C: 'a + BlockContext> {
3030
pub branch: BranchType,
3131
pub back_edge: bool,
3232
pub source: Guard<'a, BasicBlock<C>>,
33-
target: Guard<'a, BasicBlock<C>>,
33+
pub target: Guard<'a, BasicBlock<C>>,
3434
}
3535

3636
impl<'a, C: 'a + fmt::Debug + BlockContext> fmt::Debug for Edge<'a, C> {

0 commit comments

Comments
 (0)