Jump to content

Fighting the Rust Borrow Checker (and Winning): Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

15 November 2025

  • curprev 17:4017:40, 15 November 2025 PC talk contribs 9,158 bytes +9,158 Created page with "If you’ve written Rust for more than five minutes, you’ve probably met the borrow checker. It’s opinionated. It’s meticulous. And sometimes, when your code looks perfectly innocent, it still says “nope.” I recently bumped into this while hacking together a tiny pager UI with rustbox. The idea was simple: open a file, show a screenful of lines, and on spacebar show the next screenful. Nothing exotic. Here’s the shape of the first attempt: extern crate rus..."