Skip to content

Commit

Permalink
core(route): remove unnecessary map
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Nov 7, 2023
1 parent 40cf874 commit e69c3e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion viz-router/src/route.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ mod tests {
})
// .with(viz_core::middleware::cookie::Config::new())
.into_iter()
.map(|(method, handler)| (method, handler))
// .filter(|(method, _)| method != Method::GET)
.collect::<Route>();

Expand Down

0 comments on commit e69c3e5

Please sign in to comment.