Format api-provision rebase merge

Apply rustfmt after resolving the api_provision rebase conflict.

Validation:
- cargo fmt --all --manifest-path /home/dev-user/code/codex/codex-rs/Cargo.toml

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Michael Fan
2026-03-25 00:56:56 +00:00
parent f681d22672
commit fde3495c53

View File

@@ -96,7 +96,11 @@ fn continue_in_browser_message(
];
if browser_opened {
lines.push(" Codex tried to open this link for you.".dark_gray().into());
lines.push(
" Codex tried to open this link for you."
.dark_gray()
.into(),
);
} else {
lines.push(
" Codex couldn't auto-open your browser, but the provisioning flow is still waiting."
@@ -304,9 +308,7 @@ mod tests {
/*browser_opened*/ false,
);
assert!(
render_cell(&cell).contains("https://auth.example.com/oauth/authorize?state=abc")
);
assert!(render_cell(&cell).contains("https://auth.example.com/oauth/authorize?state=abc"));
}
fn render_cell(cell: &PlainHistoryCell) -> String {