« * K @bbelderbos.bsky.social

Bob Belderbos @bbelderbos.bsky.social

2026-11-26 16:20 UTC

Rust code that compiles isn't necessarily well-designed Rust code. Here's a real example from a week 4 PR review in our Scripter to Rust cohort. A student building a JSON parser added this helper method: pub fn as_array(&self) -> Option<&Vec<JsonValue>> It compiled and tests passed.

1 picture (not shown on this phone)

0 likes, 0 reposts, 1 replies

3 Next post4 More from @bbelderbos.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup