Comment

Comment by sebbyy

Because Rust is pass by value.

  f(&s);
is practically equal to

  let r = s.borrow();
  f(r);
parent sebbyy 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton