Comment

Comment by JohnFen

Wait... as a Rust newbie, you bring up a point I could use clarification on.

I get that "&mut T" means it's borrowed mutably, but doesn't that automatically mean that "&T" means it's borrowed immutably?

parent JohnFen 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton