Why Nostr? What is Njump?
2024-06-20 07:52:37

Paul Campbell on Nostr: Early last year when I was starting to learn Rust, I tried the mockall crate to help ...

Early last year when I was starting to learn Rust, I tried the mockall crate to help with writing some tests. I can't remember why now, but I bounced off it very hard. I think I didn't understand enough about Rust at the time to know how to use it properly.

Today I've been looking at it again with the aim of replacing some of the hairy test-doubles I've written by hand, and it feels like it's all just clicking into place.

#RustLang #MockAll
Author Public Key
npub1yl4xepxvd8h4mt9y8puh76vzznzshju8q70u8zyyp0r8mjrqv39sv6cqa9