refactor: remove unused code and fields

Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-25 18:26:01 -03:00
parent cd4838a474
commit f6454d94f3
4 changed files with 0 additions and 29 deletions

View File

@@ -163,24 +163,3 @@ impl FromStr for NumberOrString {
}
}
/**
* Struct for key-value pairs.
*/
#[derive(Debug, Clone)]
pub struct KeyValue {
pub key: String,
pub value: String,
}
impl FromStr for KeyValue {
type Err = Error;
fn from_str(s: &str) -> Result<Self, Self::Err> {
match s.split_once('=') {
Some(kv) => Ok(KeyValue {
key: kv.0.to_string(),
value: kv.1.to_string(),
}),
None => Err(anyhow!("Unable to parse key=value pair")),
}
}
}