refactor write_pool_block()
No need to write the same assertion in each case (except the default one). Instead we can assert after the switch statement.
Showing
Please register or sign in to comment
No need to write the same assertion in each case (except the default one). Instead we can assert after the switch statement.