Skip to content

Commit

Permalink
Nit for prepare_universal_alias
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur committed Jun 7, 2024
1 parent 041ded6 commit 7376bd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,7 @@ pub mod bridging {
false => None,
}
});
assert!(alias.is_some(), "we expect here BridgeHubRococo to Westend mapping at least");
Some(alias.unwrap())
Some(alias.expect("we expect here BridgeHubRococo to Westend mapping at least"))
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,7 @@ pub mod bridging {
false => None,
}
});
assert!(alias.is_some(), "we expect here BridgeHubWestend to Rococo mapping at least");
Some(alias.unwrap())
Some(alias.expect("we expect here BridgeHubWestend to Rococo mapping at least"))
}
}
}

0 comments on commit 7376bd7

Please sign in to comment.