Skip to content

Commit 5a6eeb1

Browse files
committed
Add back context comment
1 parent c0b4ecc commit 5a6eeb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/next-core/src/next_route_matcher/path_regex.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ pub struct PathRegex {
1919

2020
impl PartialEq for PathRegex {
2121
fn eq(&self, other: &Self) -> bool {
22+
// Context: https://github.com/rust-lang/regex/issues/313#issuecomment-269898900
2223
self.regex.as_str() == other.regex.as_str() && self.named_params == other.named_params
2324
}
2425
}

0 commit comments

Comments
 (0)