Skip to content

Commit 8448782

Browse files
authored
fix typo in src/tree.rs
1 parent 31ccf25 commit 8448782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ impl<T> Node<T> {
466466
return Ok(node);
467467
};
468468

469-
// Insering a catch-all route.
469+
// Inserting a catch-all route.
470470
if prefix[wildcard.clone()][1] == b'*' {
471471
// Ensure there is no suffix after the parameter, e.g. `/foo/{*x}/bar`.
472472
if wildcard.end != prefix.len() {

0 commit comments

Comments
 (0)