Justin Ossevoort

u/internetionals@toot.community
0 posts · 1 comments

Recent posts

No posts.

Recent comments

on Rust Pro Tips (collection) · c/rust · 1 pts · 2y

@calcopiritus @hatchet That way you can pass a reference or anything that can be turned into a reference as an argument. So the caller can supply a &T, Box, Rc, Arc, … (I dont’t know if there is a blanket impl so that even T itself will work.