mirror of
https://github.com/openai/codex.git
synced 2026-09-11 20:36:49 +00:00
ci: sync Bazel clippy lints and fix uncovered violations
This commit is contained in:
@@ -309,7 +309,7 @@ where
|
||||
D: Deserializer<'de>,
|
||||
T: Deserialize<'de>,
|
||||
{
|
||||
Option::<Vec<T>>::deserialize(deserializer).map(|opt| opt.unwrap_or_default())
|
||||
Option::<Vec<T>>::deserialize(deserializer).map(Option::unwrap_or_default)
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user