mirror of
https://github.com/openai/codex.git
synced 2026-04-28 02:11:08 +03:00
fix: remove inaccurate #[allow(dead_code)] marker (#7851)
Me reading this clippy warning: <img width="263" height="191" alt="image" src="https://github.com/user-attachments/assets/3a936a17-f91d-47bc-a08a-cafb154e9e32" />
This commit is contained in:
@@ -99,7 +99,6 @@ pub struct ModelProviderInfo {
|
||||
}
|
||||
|
||||
impl ModelProviderInfo {
|
||||
#[allow(dead_code)]
|
||||
fn build_header_map(&self) -> crate::error::Result<HeaderMap> {
|
||||
let mut headers = HeaderMap::new();
|
||||
if let Some(extra) = &self.http_headers {
|
||||
|
||||
Reference in New Issue
Block a user