mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
Upgrade the Rust toolchain to 1.99.1 (#55677)
## What changed - Update Cargo and Bazel toolchain pins, CI and release workflows, and Windows setup from Rust `1.95.0` to `1.99.1`. - Adapt Rust code to updated APIs and lint requirements, including `try_update` and `as_chunks`, and refresh the halfwidth sound marks snapshot. - Update `webpki-root-certs` from `1.0.5` to `1.0.10` in the Cargo and Bazel lockfiles. GitOrigin-RevId: e1aaed63b7e72bb8c8bbe25b32c6329c9a37b6c3
This commit is contained in:
committed by
copyberry
parent
c465563aa9
commit
ef1604d8f5
@@ -88,11 +88,8 @@ pub fn try_parse_word_only_commands_sequence(tree: &Tree, src: &str) -> Option<V
|
||||
|
||||
let mut commands = Vec::new();
|
||||
for node in command_nodes {
|
||||
if let Some(words) = parse_plain_command_from_node(node, src) {
|
||||
commands.push(words);
|
||||
} else {
|
||||
return None;
|
||||
}
|
||||
let words = parse_plain_command_from_node(node, src)?;
|
||||
commands.push(words);
|
||||
}
|
||||
Some(commands)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user