[PATCH 6.12 056/269] rust: str: test: replace `alloc::format`