mirror of
https://github.com/openai/codex.git
synced 2026-04-28 02:11:08 +03:00
clippy
This commit is contained in:
1
codex-rs/Cargo.lock
generated
1
codex-rs/Cargo.lock
generated
@@ -1879,7 +1879,6 @@ dependencies = [
|
||||
"anyhow",
|
||||
"filedescriptor",
|
||||
"lazy_static",
|
||||
"libc",
|
||||
"log",
|
||||
"portable-pty",
|
||||
"pretty_assertions",
|
||||
|
||||
@@ -280,6 +280,9 @@ fn normalize_cwd_lines(output: &[u8]) -> Vec<String> {
|
||||
.collect()
|
||||
}
|
||||
|
||||
// This is not dead code but this is not used on Windows, and we still want compiles check
|
||||
// everywhere.
|
||||
#[allow(dead_code)]
|
||||
fn strip_echoed_input(lines: Vec<String>, input: &str) -> Vec<String> {
|
||||
lines.into_iter().filter(|line| line != input).collect()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user