What is Nostr?
Dan Lyke /
npub18tv…nm77
2024-12-25 17:45:02

Dan Lyke on Nostr: Okay, starting to see what people mean about refactoring to satisfy the borrow ...

Okay, starting to see what people mean about refactoring to satisfy the borrow checker in Rust, because, yeah, i can't figure out how to tell it that the "Chars" I'm passing around have an str that's safe.

But now I'm in the "how does one keep generic behavior when structuring code like this?", and maybe the answer is one doesn't?

I can see making a bunch of cheat sheets and trying to make notes about ways to think about data structures differently as I move forward.
Author Public Key
npub18tvqvselr5yayepamzl5zc5fqfcyf9feswd2k7ua5g27r4tgrwkq2jnm77