diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-04 03:20:05 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-04 16:58:29 +0900 |
| commit | d94e3ec276cb2fd344b6243cdbe5a5c9f3c3613a (patch) | |
| tree | d81e10d5fbaf31e2a7bbbcf7cf1b18999285c675 /LICENSE.md | |
| parent | 3ec1d7d77ee6e41aaee74c4be855a86019e7256e (diff) | |
| download | php-shirabe-d94e3ec276cb2fd344b6243cdbe5a5c9f3c3613a.tar.gz php-shirabe-d94e3ec276cb2fd344b6243cdbe5a5c9f3c3613a.tar.zst php-shirabe-d94e3ec276cb2fd344b6243cdbe5a5c9f3c3613a.zip | |
fix(create-project-command): split chained config.borrow_mut() calls
install_project's fluent builder chain called config.borrow_mut() four
times inline as method arguments. Rust extends every argument
temporary's lifetime to the end of the enclosing statement, so the
first borrow_mut() was still alive when the second one ran, panicking
with "already borrowed". Compute each value into a local before the
chain instead, matching the pattern already used in
install/update/require/remove_command.rs.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions
