Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 17, 2024
1 parent a9ad221 commit 8f2cf7a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions router/src/matching/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ where
} else {
(base.as_ref(), path)
};
match path.strip_prefix(base) {
Some(path) => path,
None => return None,
}
path.strip_prefix(base)?
}
};

Expand Down

0 comments on commit 8f2cf7a

Please sign in to comment.