mirror of
https://github.com/openai/codex.git
synced 2026-04-26 07:35:29 +00:00
10 lines
250 B
Rust
10 lines
250 B
Rust
#![warn(uncommented_anonymous_literal_argument)]
|
|
|
|
fn main() {
|
|
let line = "{\"type\":\"response_item\"}";
|
|
let _ = line.starts_with('{');
|
|
let _ = line.find("type");
|
|
let parts = ["type", "response_item"];
|
|
let _ = parts.join("\n");
|
|
}
|