0.1.0-0-pre.11-fix.2
This commit is contained in:
56
deltas/0.1.0/0-pre.11.fix.2.md
Normal file
56
deltas/0.1.0/0-pre.11.fix.2.md
Normal file
@@ -0,0 +1,56 @@
|
||||
<!-- file: deltas/0.1.0/0-pre.11.fix.2.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# Delta 0.1.0-0-pre.11.fix.2
|
||||
|
||||
## Base
|
||||
|
||||
Base déclarée : `0.1.0-0-pre.11.fix.1`, non validée.
|
||||
|
||||
## Échec observé
|
||||
|
||||
Les tests Snake passent, mais Clippy strict bloque encore sur une closure de test :
|
||||
|
||||
```text
|
||||
clippy::implicit-return
|
||||
```
|
||||
|
||||
Code concerné :
|
||||
|
||||
```text
|
||||
filter(|slot| slot.is_some())
|
||||
```
|
||||
|
||||
## Correctif
|
||||
|
||||
La closure respecte désormais la règle workspace exigeant un `return` explicite :
|
||||
|
||||
```text
|
||||
filter(|slot| return slot.is_some())
|
||||
```
|
||||
|
||||
Aucun comportement fonctionnel n'est modifié.
|
||||
|
||||
## Validation
|
||||
|
||||
```bash
|
||||
cargo fmt --all
|
||||
cargo fmt --all -- --check
|
||||
|
||||
python3 scripts/audit_rust_workspace_rules.py
|
||||
python3 scripts/audit_markdown_tables.py README.md RULES.md ROADMAP.md CHANGELOG.md docs prompts crates Android deltas history
|
||||
|
||||
cargo check --workspace
|
||||
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||
|
||||
cargo test -p engine-v1-sdl --all-targets --all-features
|
||||
cargo test -p game-snake-poc --all-targets --all-features
|
||||
```
|
||||
|
||||
Puis reprendre les smokes Desktop et Android définis dans `0-pre.11`.
|
||||
|
||||
## Transition
|
||||
|
||||
Si toutes les gates passent, `0.1.0-0-pre.11.fix.2` valide la fin de la phase `0-pre.*`.
|
||||
|
||||
En cas d'échec imputable au projet, produire `0.1.0-0-pre.11.fix.3`.
|
||||
Reference in New Issue
Block a user