Skip to content

Commit

Permalink
immut over mut ref on validate
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Sep 12, 2023
1 parent 133863d commit 99ca410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ibc/src/core/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub fn dispatch(
/// `dispatch()` on each successively.
pub fn validate<Ctx>(
ctx: &Ctx,
router: &mut impl Router,
router: &impl Router,
msg: MsgEnvelope,
) -> Result<(), RouterError>
where
Expand Down

0 comments on commit 99ca410

Please sign in to comment.