mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
codex: fix remaining rust-ci lint failure on PR #13134
This commit is contained in:
@@ -1003,7 +1003,7 @@ fn wrap_plain_text_lines(text: &str, width: u16) -> Vec<String> {
|
||||
};
|
||||
textwrap::wrap(line, options)
|
||||
.into_iter()
|
||||
.map(|wrapped| wrapped.into_owned())
|
||||
.map(std::borrow::Cow::into_owned)
|
||||
.collect::<Vec<_>>()
|
||||
})
|
||||
.collect()
|
||||
|
||||
Reference in New Issue
Block a user