Something something Sec/DevOps/SRE/SE/meh…

  • 0 Posts
  • 1 Comment
Joined 1Y ago
cake
Cake day: May 11, 2023

help-circle
rss

@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<T>, Rc<T>, Arc<T>, … (I dont’t know if there is a blanket impl so that even T itself will work.