2 points · by peeyek · 11mo ago · 0 comments
No comments yet.
Writing a mockable Filesystem trait in Rust without RefCell
I needed to test my CLI tool without writing to disk. I started with a messy `RefCell` setup but refactored it to use proper Rust borrowing instead.
pyk