Skip Navigation
Rust Pro Tips (collection)
  • @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.

  • internetionals Justin Ossevoort @toot.community

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

    Posts 0
    Comments 1