mirror of
https://github.com/openai/codex.git
synced 2026-04-30 19:32:04 +03:00
chore: clippy-2
This commit is contained in:
@@ -45,7 +45,7 @@ fn find_session_file_containing_marker(
|
||||
&& payload.get("type").and_then(|t| t.as_str()) == Some("message")
|
||||
&& payload
|
||||
.get("content")
|
||||
.map(|c| c.to_string())
|
||||
.map(std::string::ToString::to_string)
|
||||
.unwrap_or_default()
|
||||
.contains(marker)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user