Hands-on Rust B5.0: MapBuilder new -> build (page 276)

MapBuilder doesn’t have new method.

MapBuilder::new -> MapBuilder::build

Thanks again! I’ve entered it into my issue tracker, and it’ll be fixed for the next release.

I see what happened here. In previous betas, I’d used MapBuilder::build. That wasn’t very consistent, so I renamed the build function to new - to match the other constructors. I’m digging through making sure I didn’t miss any - but new is the correct name for the most recent betas.

Thank you for your replying. I saw old source code…
I apologize for the trouble.

Not a problem - I appreciate bug reports, I’d rather double-check than let it slip through. Thanks!