Skip to content

Commit 856f162

Browse files
committed
inline
1 parent f66024e commit 856f162

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/router/src/pipeline/usage_reporting.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ pub fn collect_usage_report(
8787
}
8888
}
8989

90+
#[inline]
9091
fn get_header_value<'req>(req: &'req HttpRequest, header_name: &str) -> Option<&'req str> {
9192
req.headers().get(header_name).and_then(|v| v.to_str().ok())
9293
}

0 commit comments

Comments
 (0)