Skip to content

Commit 94af9c3

Browse files
authored
axum: correct typo in append_allow_header (#3476)
1 parent d5e5056 commit 94af9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axum/src/routing/method_routing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ fn append_allow_header(allow_header: &mut AllowHeader, method: &'static str) {
11881188
}
11891189
} else {
11901190
#[cfg(debug_assertions)]
1191-
panic!("`allow_header` contained invalid uft-8. This should never happen")
1191+
panic!("`allow_header` contained invalid utf-8. This should never happen")
11921192
}
11931193
}
11941194
}

0 commit comments

Comments
 (0)