Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
212: Fixed `LateInit` recipe stack overflow r=matklad a=jack-cooper The given `LateInit` recipe works up until the print statement, which causes a stack overflow as the derived `Debug` implementation tries to write out: ```rs LateInit { cell: OnceCell(A { b: LateInit { cell: OnceCell(B { a: LateInit // repeats endlessly from here ``` To fix this, I've added in a rudimentary `Debug` impl. Co-authored-by: jack-cooper <[email protected]>
- Loading branch information