Title: Name of book: Hands-on Rust (p. 181) <- using the PDF to make these easier, hope all appreciate my sacrifice
Beta 4 notes point that you added in_bounds to Algorithms2D (pg 170), but the text right before it still reads:
âGood news: if youâve followed the examples in this book, youâre using a compatible format and only need to write dimensions() yourself.â
As an additional comment you might inject a bit about why this is done (and why itâs done this way). As a programmer whoâs done a LOT of Java, I originally had a âwhatâs the point of that?â doesnât look like it does anything (until I thought a bit about how Rust isnât the same sort of OO as I was used to.)
Though, that said⊠why wouldnât I just move the definition of in_bounds to the implementation for Algorithm2D?? That still puts it on the Map struct, right?