mirror of
https://github.com/openai/codex.git
synced 2026-04-29 02:41:12 +03:00
chore: clippy-2
This commit is contained in:
@@ -114,7 +114,10 @@ mod tests {
|
||||
use super::seek_sequence;
|
||||
|
||||
fn to_vec(strings: &[&str]) -> Vec<String> {
|
||||
strings.iter().map(|s| s.to_string()).collect()
|
||||
strings
|
||||
.iter()
|
||||
.map(std::string::ToString::to_string)
|
||||
.collect()
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user