Skip to content

Commit

Permalink
chore(core::writing): try_set_header add #[inline(always)] (salvo…
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya authored Oct 10, 2024
1 parent 75be65b commit 8183989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/core/src/writing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ macro_rules! writer_tuple_impls {

crate::for_each_tuple!(writer_tuple_impls);

#[inline(always)]
fn try_set_header<K, V>(headers: &mut HeaderMap<V>, key: K, val: V)
where
K: IntoHeaderName,
Expand Down

0 comments on commit 8183989

Please sign in to comment.